diff options
-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; |