summaryrefslogtreecommitdiff
path: root/openbsd-compat/bcrypt_pbkdf.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-17 14:18:45 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-17 14:18:45 +1100
commitc3ed065ce8417aaa46490836648c173a5010f226 (patch)
tree26edf9ec2cf992cfd99e621608b9f91dc90215df /openbsd-compat/bcrypt_pbkdf.c
parentf45f78ae437062c7d9506c5f475b7215f486be44 (diff)
- (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside
#ifdef HAVE_STDINT_H.
Diffstat (limited to 'openbsd-compat/bcrypt_pbkdf.c')
-rw-r--r--openbsd-compat/bcrypt_pbkdf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/bcrypt_pbkdf.c b/openbsd-compat/bcrypt_pbkdf.c
index e0736fea..91b6ba07 100644
--- a/openbsd-compat/bcrypt_pbkdf.c
+++ b/openbsd-compat/bcrypt_pbkdf.c
@@ -22,7 +22,9 @@
#include <sys/types.h>
#include <sys/param.h>
-#include <stdlib.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#include <string.h>
#ifdef HAVE_BLF_H