diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-07-21 06:30:25 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-07-21 06:30:25 +1000 |
commit | 93a87ab27ecdc709169fb24411133998f81e2761 (patch) | |
tree | 024ee13fc4c4923c59508b5d143051c6b5b4c621 /regress/unittests | |
parent | 5573171352ea23df2dc6d2fe0324d023b7ba697c (diff) |
- (dtucker) [regress/unittests/sshkey/
{common,test_file,test_fuzz,test_sshkey}.c] Wrap stdint.h includes in
ifdefs.
Diffstat (limited to 'regress/unittests')
-rw-r--r-- | regress/unittests/sshkey/common.c | 2 | ||||
-rw-r--r-- | regress/unittests/sshkey/test_file.c | 2 | ||||
-rw-r--r-- | regress/unittests/sshkey/test_fuzz.c | 2 | ||||
-rw-r--r-- | regress/unittests/sshkey/test_sshkey.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/regress/unittests/sshkey/common.c b/regress/unittests/sshkey/common.c index b73a788dd..bed9a62b3 100644 --- a/regress/unittests/sshkey/common.c +++ b/regress/unittests/sshkey/common.c | |||
@@ -12,7 +12,9 @@ | |||
12 | #include <sys/stat.h> | 12 | #include <sys/stat.h> |
13 | #include <fcntl.h> | 13 | #include <fcntl.h> |
14 | #include <stdio.h> | 14 | #include <stdio.h> |
15 | #ifdef HAVE_STDINT_H | ||
15 | #include <stdint.h> | 16 | #include <stdint.h> |
17 | #endif | ||
16 | #include <stdlib.h> | 18 | #include <stdlib.h> |
17 | #include <string.h> | 19 | #include <string.h> |
18 | #include <unistd.h> | 20 | #include <unistd.h> |
diff --git a/regress/unittests/sshkey/test_file.c b/regress/unittests/sshkey/test_file.c index 3c84f1561..de3ae38c1 100644 --- a/regress/unittests/sshkey/test_file.c +++ b/regress/unittests/sshkey/test_file.c | |||
@@ -12,7 +12,9 @@ | |||
12 | #include <sys/stat.h> | 12 | #include <sys/stat.h> |
13 | #include <fcntl.h> | 13 | #include <fcntl.h> |
14 | #include <stdio.h> | 14 | #include <stdio.h> |
15 | #ifdef HAVE_STDINT_H | ||
15 | #include <stdint.h> | 16 | #include <stdint.h> |
17 | #endif | ||
16 | #include <stdlib.h> | 18 | #include <stdlib.h> |
17 | #include <string.h> | 19 | #include <string.h> |
18 | #include <unistd.h> | 20 | #include <unistd.h> |
diff --git a/regress/unittests/sshkey/test_fuzz.c b/regress/unittests/sshkey/test_fuzz.c index be309f5d8..163e65512 100644 --- a/regress/unittests/sshkey/test_fuzz.c +++ b/regress/unittests/sshkey/test_fuzz.c | |||
@@ -12,7 +12,9 @@ | |||
12 | #include <sys/stat.h> | 12 | #include <sys/stat.h> |
13 | #include <fcntl.h> | 13 | #include <fcntl.h> |
14 | #include <stdio.h> | 14 | #include <stdio.h> |
15 | #ifdef HAVE_STDINT_H | ||
15 | #include <stdint.h> | 16 | #include <stdint.h> |
17 | #endif | ||
16 | #include <stdlib.h> | 18 | #include <stdlib.h> |
17 | #include <string.h> | 19 | #include <string.h> |
18 | #include <unistd.h> | 20 | #include <unistd.h> |
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c index 2d69b4d0d..03dfdba12 100644 --- a/regress/unittests/sshkey/test_sshkey.c +++ b/regress/unittests/sshkey/test_sshkey.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 | #ifdef HAVE_STDINT_H | ||
13 | #include <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 | ||