summaryrefslogtreecommitdiff
path: root/openbsd-compat/reallocarray.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-23 03:07:24 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-23 03:07:24 +1100
commit37f9220db8d1a52c75894c3de1e5f2ae5bd71b6f (patch)
tree5f80fd1bcaa53dceb3a09e2e67ca0bd052c6f788 /openbsd-compat/reallocarray.c
parentf81f1bbc5b892c8614ea740b1f92735652eb43f0 (diff)
Wrap stdint.h includes in ifdefs.
Diffstat (limited to 'openbsd-compat/reallocarray.c')
-rw-r--r--openbsd-compat/reallocarray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/reallocarray.c b/openbsd-compat/reallocarray.c
index cffe9b5e..1a52acc6 100644
--- a/openbsd-compat/reallocarray.c
+++ b/openbsd-compat/reallocarray.c
@@ -22,7 +22,9 @@
#include <sys/types.h>
#include <errno.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
/*