summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-07-21 06:30:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2014-07-21 06:30:25 +1000
commit93a87ab27ecdc709169fb24411133998f81e2761 (patch)
tree024ee13fc4c4923c59508b5d143051c6b5b4c621
parent5573171352ea23df2dc6d2fe0324d023b7ba697c (diff)
downloadopenssh-git-93a87ab27ecdc709169fb24411133998f81e2761.tar.gz
- (dtucker) [regress/unittests/sshkey/
{common,test_file,test_fuzz,test_sshkey}.c] Wrap stdint.h includes in ifdefs.
-rw-r--r--ChangeLog3
-rw-r--r--regress/unittests/sshkey/common.c2
-rw-r--r--regress/unittests/sshkey/test_file.c2
-rw-r--r--regress/unittests/sshkey/test_fuzz.c2
-rw-r--r--regress/unittests/sshkey/test_sshkey.c2
5 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f1c60563..d402c428 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
20140721
- (dtucker) [cipher.c openbsd-compat/openssl-compat.h] Restore the bits
needed to build AES CTR mode against OpenSSL 0.9.8f and above. ok djm
+ - (dtucker) [regress/unittests/sshkey/
+ {common,test_file,test_fuzz,test_sshkey}.c] Wrap stdint.h includes in
+ ifdefs.
20140719
- (tim) [openbsd-compat/port-uw.c] Include misc.h for fwd_opts, used
diff --git a/regress/unittests/sshkey/common.c b/regress/unittests/sshkey/common.c
index b73a788d..bed9a62b 100644
--- a/regress/unittests/sshkey/common.c
+++ b/regress/unittests/sshkey/common.c
@@ -12,7 +12,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/regress/unittests/sshkey/test_file.c b/regress/unittests/sshkey/test_file.c
index 3c84f156..de3ae38c 100644
--- a/regress/unittests/sshkey/test_file.c
+++ b/regress/unittests/sshkey/test_file.c
@@ -12,7 +12,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/regress/unittests/sshkey/test_fuzz.c b/regress/unittests/sshkey/test_fuzz.c
index be309f5d..163e6551 100644
--- a/regress/unittests/sshkey/test_fuzz.c
+++ b/regress/unittests/sshkey/test_fuzz.c
@@ -12,7 +12,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c
index 2d69b4d0..03dfdba1 100644
--- a/regress/unittests/sshkey/test_sshkey.c
+++ b/regress/unittests/sshkey/test_sshkey.c
@@ -10,7 +10,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>