aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/compat/reallocarray.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-30 12:57:50 +0200
commit2d43ae806359c89818c0519d81a65ded768746d8 (patch)
treec5ca4144a8f721efb0b4d051ee604f2694e6df64 /external/unbound/compat/reallocarray.c
parentno longer need to pass the size to rapidjson (diff)
downloadmonero-2d43ae806359c89818c0519d81a65ded768746d8.tar.xz
update unbound, fix unbound openssl issue on OS X
Diffstat (limited to 'external/unbound/compat/reallocarray.c')
-rw-r--r--external/unbound/compat/reallocarray.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/unbound/compat/reallocarray.c b/external/unbound/compat/reallocarray.c
index 04d5d71c8..c969bd067 100644
--- a/external/unbound/compat/reallocarray.c
+++ b/external/unbound/compat/reallocarray.c
@@ -18,7 +18,10 @@
#include "config.h"
#include <sys/types.h>
#include <errno.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
+#include <limits.h>
#include <stdlib.h>
/*