summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-06-12 05:32:29 +1000
committerDarren Tucker <dtucker@zip.com.au>2014-06-12 05:32:29 +1000
commit985ee2cbc3e43bc65827c3c0d4df3faa99160c37 (patch)
tree44924934654726f1071cd050732bc58e365612f9
parentcf5392c2db2bb1dbef9818511d34056404436109 (diff)
- (dtucker) [regress/unittests/sshbuf/*.c regress/unittests/test_helper/*]
Wrap stdlib.h include an ifdef for platforms that don't have it.
-rw-r--r--ChangeLog2
-rw-r--r--regress/unittests/sshbuf/test_sshbuf.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_fixed.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_fuzz.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_getput_basic.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_getput_crypto.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c4
-rw-r--r--regress/unittests/sshbuf/test_sshbuf_misc.c4
-rw-r--r--regress/unittests/test_helper/fuzz.c4
-rw-r--r--regress/unittests/test_helper/test_helper.c4
-rw-r--r--regress/unittests/test_helper/test_helper.h4
11 files changed, 32 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c3f6543f..22f2358e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120140611 120140611
2 - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from 2 - (dtucker) [defines.h] Add va_copy if we don't already have it, taken from
3 openbsd-compat/bsd-asprintf.c. 3 openbsd-compat/bsd-asprintf.c.
4 - (dtucker) [regress/unittests/sshbuf/*.c regress/unittests/test_helper/*]
5 Wrap stdlib.h include an ifdef for platforms that don't have it.
4 6
520140610 720140610
6 - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c 8 - (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
diff --git a/regress/unittests/sshbuf/test_sshbuf.c b/regress/unittests/sshbuf/test_sshbuf.c
index 85eacd66f..ee77d6934 100644
--- a/regress/unittests/sshbuf/test_sshbuf.c
+++ b/regress/unittests/sshbuf/test_sshbuf.c
@@ -11,7 +11,9 @@
11#include <sys/types.h> 11#include <sys/types.h>
12#include <sys/param.h> 12#include <sys/param.h>
13#include <stdio.h> 13#include <stdio.h>
14#include <stdint.h> 14#ifdef HAVE_STDINT_H
15# include <stdint.h>
16#endif
15#include <stdlib.h> 17#include <stdlib.h>
16#include <string.h> 18#include <string.h>
17 19
diff --git a/regress/unittests/sshbuf/test_sshbuf_fixed.c b/regress/unittests/sshbuf/test_sshbuf_fixed.c
index 52dc84b6f..df4925f7c 100644
--- a/regress/unittests/sshbuf/test_sshbuf_fixed.c
+++ b/regress/unittests/sshbuf/test_sshbuf_fixed.c
@@ -11,7 +11,9 @@
11#include <sys/types.h> 11#include <sys/types.h>
12#include <sys/param.h> 12#include <sys/param.h>
13#include <stdio.h> 13#include <stdio.h>
14#include <stdint.h> 14#ifdef HAVE_STDINT_H
15# include <stdint.h>
16#endif
15#include <stdlib.h> 17#include <stdlib.h>
16#include <string.h> 18#include <string.h>
17 19
diff --git a/regress/unittests/sshbuf/test_sshbuf_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_fuzz.c
index d902ac460..c52376b53 100644
--- a/regress/unittests/sshbuf/test_sshbuf_fuzz.c
+++ b/regress/unittests/sshbuf/test_sshbuf_fuzz.c
@@ -10,7 +10,9 @@
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/param.h> 11#include <sys/param.h>
12#include <stdio.h> 12#include <stdio.h>
13#include <stdint.h> 13#ifdef HAVE_STDINT_H
14# include <stdint.h>
15#endif
14#include <stdlib.h> 16#include <stdlib.h>
15#include <string.h> 17#include <string.h>
16 18
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_basic.c b/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
index cf4d0a343..966e8432b 100644
--- a/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
+++ b/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
@@ -10,7 +10,9 @@
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/param.h> 11#include <sys/param.h>
12#include <stdio.h> 12#include <stdio.h>
13#include <stdint.h> 13#ifdef HAVE_STDINT_H
14# include <stdint.h>
15#endif
14#include <stdlib.h> 16#include <stdlib.h>
15#include <string.h> 17#include <string.h>
16 18
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c b/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
index 4f3b5a8ea..e181b8f93 100644
--- a/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
+++ b/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
@@ -10,7 +10,9 @@
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/param.h> 11#include <sys/param.h>
12#include <stdio.h> 12#include <stdio.h>
13#include <stdint.h> 13#ifdef HAVE_STDINT_H
14# include <stdint.h>
15#endif
14#include <stdlib.h> 16#include <stdlib.h>
15#include <string.h> 17#include <string.h>
16 18
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
index 3987515a4..2a242e9f2 100644
--- a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
+++ b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
@@ -10,7 +10,9 @@
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/param.h> 11#include <sys/param.h>
12#include <stdio.h> 12#include <stdio.h>
13#include <stdint.h> 13#ifdef HAVE_STDINT_H
14# include <stdint.h>
15#endif
14#include <stdlib.h> 16#include <stdlib.h>
15#include <string.h> 17#include <string.h>
16 18
diff --git a/regress/unittests/sshbuf/test_sshbuf_misc.c b/regress/unittests/sshbuf/test_sshbuf_misc.c
index a47f9f0bf..f155491a0 100644
--- a/regress/unittests/sshbuf/test_sshbuf_misc.c
+++ b/regress/unittests/sshbuf/test_sshbuf_misc.c
@@ -10,7 +10,9 @@
10#include <sys/types.h> 10#include <sys/types.h>
11#include <sys/param.h> 11#include <sys/param.h>
12#include <stdio.h> 12#include <stdio.h>
13#include <stdint.h> 13#ifdef HAVE_STDINT_H
14# include <stdint.h>
15#endif
14#include <stdlib.h> 16#include <stdlib.h>
15#include <string.h> 17#include <string.h>
16 18
diff --git a/regress/unittests/test_helper/fuzz.c b/regress/unittests/test_helper/fuzz.c
index 63b2370d2..77c6e7cad 100644
--- a/regress/unittests/test_helper/fuzz.c
+++ b/regress/unittests/test_helper/fuzz.c
@@ -24,7 +24,9 @@
24#include <assert.h> 24#include <assert.h>
25#include <ctype.h> 25#include <ctype.h>
26#include <stdio.h> 26#include <stdio.h>
27#include <stdint.h> 27#ifdef HAVE_STDINT_H
28# include <stdint.h>
29#endif
28#include <stdlib.h> 30#include <stdlib.h>
29#include <string.h> 31#include <string.h>
30#include <assert.h> 32#include <assert.h>
diff --git a/regress/unittests/test_helper/test_helper.c b/regress/unittests/test_helper/test_helper.c
index 5881538ee..6faf99e51 100644
--- a/regress/unittests/test_helper/test_helper.c
+++ b/regress/unittests/test_helper/test_helper.c
@@ -24,7 +24,9 @@
24 24
25#include <fcntl.h> 25#include <fcntl.h>
26#include <stdio.h> 26#include <stdio.h>
27#include <stdint.h> 27#ifdef HAVE_STDINT_H
28# include <stdint.h>
29#endif
28#include <stdlib.h> 30#include <stdlib.h>
29#include <string.h> 31#include <string.h>
30#include <assert.h> 32#include <assert.h>
diff --git a/regress/unittests/test_helper/test_helper.h b/regress/unittests/test_helper/test_helper.h
index 6ead92a1c..7ba187004 100644
--- a/regress/unittests/test_helper/test_helper.h
+++ b/regress/unittests/test_helper/test_helper.h
@@ -21,7 +21,9 @@
21#define _TEST_HELPER_H 21#define _TEST_HELPER_H
22 22
23#include <sys/types.h> 23#include <sys/types.h>
24#include <stdint.h> 24#ifdef HAVE_STDINT_H
25# include <stdint.h>
26#endif
25 27
26#include <openssl/bn.h> 28#include <openssl/bn.h>
27#include <openssl/err.h> 29#include <openssl/err.h>