summaryrefslogtreecommitdiff
path: root/crypto_api.h
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 /crypto_api.h
parent1c4a011e9c939e74815346a560843e1862c300b8 (diff)
- (dtucker) [crypto_api.h] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
Diffstat (limited to 'crypto_api.h')
-rw-r--r--crypto_api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto_api.h b/crypto_api.h
index 580ba79b..5820ce8f 100644
--- a/crypto_api.h
+++ b/crypto_api.h
@@ -8,7 +8,9 @@
#ifndef crypto_api_h
#define crypto_api_h
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
#include <stdlib.h>
typedef int32_t crypto_int32;