From 2d43ae806359c89818c0519d81a65ded768746d8 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Wed, 30 Dec 2015 12:57:50 +0200 Subject: update unbound, fix unbound openssl issue on OS X --- external/unbound/compat/getentropy_solaris.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'external/unbound/compat/getentropy_solaris.c') diff --git a/external/unbound/compat/getentropy_solaris.c b/external/unbound/compat/getentropy_solaris.c index 838957382..810098a8d 100644 --- a/external/unbound/compat/getentropy_solaris.c +++ b/external/unbound/compat/getentropy_solaris.c @@ -30,7 +30,9 @@ #include #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include @@ -39,10 +41,14 @@ #include #include #include +#ifdef HAVE_SYS_SHA2_H #include #define SHA512_Init SHA512Init #define SHA512_Update SHA512Update #define SHA512_Final SHA512Final +#else +#include "openssl/sha.h" +#endif #include #include -- cgit v1.2.3