summaryrefslogtreecommitdiff
path: root/openbsd-compat/recallocarray.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-06-09 13:36:29 +1000
committerDarren Tucker <dtucker@zip.com.au>2017-06-09 13:36:29 +1000
commite0f609c8a2ab940374689ab8c854199c3c285a76 (patch)
treec2a9e4161b4d4b0d8f1df9dca940753b96862bc2 /openbsd-compat/recallocarray.c
parent1de5e47a85850526a4fdaf77185134046c050f75 (diff)
Wrap stdint.h include in #ifdef.
Diffstat (limited to 'openbsd-compat/recallocarray.c')
-rw-r--r--openbsd-compat/recallocarray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/recallocarray.c b/openbsd-compat/recallocarray.c
index c281f75e..3e1156ce 100644
--- a/openbsd-compat/recallocarray.c
+++ b/openbsd-compat/recallocarray.c
@@ -22,7 +22,9 @@
#include <errno.h>
#include <stdlib.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <string.h>
#include <unistd.h>