summaryrefslogtreecommitdiff
path: root/compat/reallocarray.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-12-12 22:18:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-12-12 22:18:57 +0000
commita7af7146c91c816cb83e0c5812eca7019531acb5 (patch)
tree6e64b645522115b817ba7eabd4e4ce58f129e8c7 /compat/reallocarray.c
parent835a7e7a4dd68819f7610dafdf9277d3852aef6a (diff)
Notes
Diffstat (limited to 'compat/reallocarray.c')
-rw-r--r--compat/reallocarray.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/reallocarray.c b/compat/reallocarray.c
index 04d5d71c8be6..c969bd067ec5 100644
--- a/compat/reallocarray.c
+++ b/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>
/*