summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/compat/reallocarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/compat/reallocarray.c')
-rw-r--r--contrib/unbound/compat/reallocarray.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/unbound/compat/reallocarray.c b/contrib/unbound/compat/reallocarray.c
index 04d5d71..c969bd0 100644
--- a/contrib/unbound/compat/reallocarray.c
+++ b/contrib/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>
/*
OpenPOWER on IntegriCloud