summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-17 12:31:33 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-17 12:31:33 +1100
commitac413b62ea1957e80c711acbe0c11b908273fc01 (patch)
tree44725928c3b515438dae08252aef55ce00c46f5a
parent1c4a011e9c939e74815346a560843e1862c300b8 (diff)
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
-rw-r--r--ChangeLog1
-rw-r--r--crypto_api.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14098dbcf..57c0a596d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1020140118 1120140118
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
14typedef int32_t crypto_int32; 16typedef int32_t crypto_int32;