summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker <dtucker>2014-07-20 20:30:25 +0000
committerdtucker <dtucker>2014-07-20 20:30:25 +0000
commitee8e89e9d2dd51c6b7dcb3563c84e1a7078919ac (patch)
treebbfefedfd653da68e76444dc2bb041c5f24452e2
parent9988f8edc2f0ff2754c7f3163b94f74a6499ea1b (diff)
downloadopenssh-ee8e89e9d2dd51c6b7dcb3563c84e1a7078919ac.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>