diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
| commit | 697291b66c481c617cf9875497e2189bc4a4b096 (patch) | |
| tree | 5c98c370bedd1d0b4cc456b94e1f7a8ceb080bff /util/alloc.h | |
| parent | afb79913ce00d885b8b43f7478e1e054edadb567 (diff) | |
Diffstat (limited to 'util/alloc.h')
| -rw-r--r-- | util/alloc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/alloc.h b/util/alloc.h index 4ed0053e2b4a..cb8d6b1bceb7 100644 --- a/util/alloc.h +++ b/util/alloc.h @@ -177,8 +177,11 @@ void alloc_set_id_cleanup(struct alloc_cache* alloc, void (*cleanup)(void*), void* arg); #ifdef UNBOUND_ALLOC_LITE +# include <ldns/ldns.h> # include <ldns/packet.h> -# include <openssl/ssl.h> +# ifdef HAVE_OPENSSL_SSL_H +# include <openssl/ssl.h> +# endif # define malloc(s) unbound_stat_malloc_lite(s, __FILE__, __LINE__, __func__) # define calloc(n,s) unbound_stat_calloc_lite(n, s, __FILE__, __LINE__, __func__) # define free(p) unbound_stat_free_lite(p, __FILE__, __LINE__, __func__) |
