summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/recallocarray.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-06-09 05:36:29 +0200
committerDarren Tucker <dtucker@zip.com.au>2017-06-09 05:36:29 +0200
commite0f609c8a2ab940374689ab8c854199c3c285a76 (patch)
treec2a9e4161b4d4b0d8f1df9dca940753b96862bc2 /openbsd-compat/recallocarray.c
parentupstream commit (diff)
downloadopenssh-e0f609c8a2ab940374689ab8c854199c3c285a76.tar.xz
openssh-e0f609c8a2ab940374689ab8c854199c3c285a76.zip
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 c281f75e9..3e1156ce2 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>