diff options
Diffstat (limited to 'regress/unittests/test_helper')
-rw-r--r-- | regress/unittests/test_helper/fuzz.c | 4 | ||||
-rw-r--r-- | regress/unittests/test_helper/test_helper.c | 4 | ||||
-rw-r--r-- | regress/unittests/test_helper/test_helper.h | 4 |
3 files changed, 9 insertions, 3 deletions
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> |