summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-24 13:49:31 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-24 13:49:31 +1100
commit4c356308a88d309c796325bb75dce90ca16591d5 (patch)
tree5941078fa9b6598232a4c419da18531d630be57f
parentc9c88355c6a27a908e7d1e5003a2b35ea99c1614 (diff)
downloadopenssh-git-4c356308a88d309c796325bb75dce90ca16591d5.tar.gz
Wrap stdint.h includes in HAVE_STDINT_H.
-rw-r--r--regress/unittests/bitmap/tests.c2
-rw-r--r--regress/unittests/hostkeys/test_iterate.c2
-rw-r--r--regress/unittests/kex/test_kex.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/regress/unittests/bitmap/tests.c b/regress/unittests/bitmap/tests.c
index 5e02ca13..8c630ac1 100644
--- a/regress/unittests/bitmap/tests.c
+++ b/regress/unittests/bitmap/tests.c
@@ -8,7 +8,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>
diff --git a/regress/unittests/hostkeys/test_iterate.c b/regress/unittests/hostkeys/test_iterate.c
index c681f19f..2b2c6508 100644
--- a/regress/unittests/hostkeys/test_iterate.c
+++ b/regress/unittests/hostkeys/test_iterate.c
@@ -8,7 +8,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>
diff --git a/regress/unittests/kex/test_kex.c b/regress/unittests/kex/test_kex.c
index 762f524f..3151fa91 100644
--- a/regress/unittests/kex/test_kex.c
+++ b/regress/unittests/kex/test_kex.c
@@ -8,7 +8,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>