summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/compat/reallocarray.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-15 19:52:02 +0000
committerngie <ngie@FreeBSD.org>2015-12-15 19:52:02 +0000
commit3fed53d02350ae9cbd7b2786b72b83d2e292b8d1 (patch)
tree57320bb171eaf81a24aa51f751919d972710edf9 /contrib/unbound/compat/reallocarray.c
parent17ca717571c27f52897c406a71864f864ca65710 (diff)
parent3713a6d4d1859668807d1f8c46fc21b15334f7c9 (diff)
downloadFreeBSD-src-3fed53d02350ae9cbd7b2786b72b83d2e292b8d1.zip
FreeBSD-src-3fed53d02350ae9cbd7b2786b72b83d2e292b8d1.tar.gz
MFhead @ r292285
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