diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-17 12:31:33 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-17 12:31:33 +1100 |
commit | ac413b62ea1957e80c711acbe0c11b908273fc01 (patch) | |
tree | 44725928c3b515438dae08252aef55ce00c46f5a | |
parent | 1c4a011e9c939e74815346a560843e1862c300b8 (diff) |
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | crypto_api.h | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -6,6 +6,7 @@ | |||
6 | - (djm) [sftp-client.c] signed/unsigned comparison fix | 6 | - (djm) [sftp-client.c] signed/unsigned comparison fix |
7 | - (dtucker) [loginrec.c] Cast to the types specfied in the format | 7 | - (dtucker) [loginrec.c] Cast to the types specfied in the format |
8 | specification to prevent warnings. | 8 | specification to prevent warnings. |
9 | - (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. | ||
9 | 10 | ||
10 | 20140118 | 11 | 20140118 |
11 | - (djm) OpenBSD CVS Sync | 12 | - (djm) OpenBSD CVS Sync |
diff --git a/crypto_api.h b/crypto_api.h index 580ba79bd..5820ce8fa 100644 --- a/crypto_api.h +++ b/crypto_api.h | |||
@@ -8,7 +8,9 @@ | |||
8 | #ifndef crypto_api_h | 8 | #ifndef crypto_api_h |
9 | #define crypto_api_h | 9 | #define crypto_api_h |
10 | 10 | ||
11 | #include <stdint.h> | 11 | #ifdef HAVE_STDINT_H |
12 | # include <stdint.h> | ||
13 | #endif | ||
12 | #include <stdlib.h> | 14 | #include <stdlib.h> |
13 | 15 | ||
14 | typedef int32_t crypto_int32; | 16 | typedef int32_t crypto_int32; |