summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--openbsd-compat/bcrypt_pbkdf.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 51eff2d6f..54a894d44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,8 @@
10 - (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. 10 - (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H.
11 - (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include 11 - (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include
12 includes.h to pull in all of the compatibility stuff. 12 includes.h to pull in all of the compatibility stuff.
13 - (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside
14 #ifdef HAVE_STDINT_H.
13 15
1420140118 1620140118
15 - (djm) OpenBSD CVS Sync 17 - (djm) OpenBSD CVS Sync
diff --git a/openbsd-compat/bcrypt_pbkdf.c b/openbsd-compat/bcrypt_pbkdf.c
index e0736feaf..91b6ba07b 100644
--- a/openbsd-compat/bcrypt_pbkdf.c
+++ b/openbsd-compat/bcrypt_pbkdf.c
@@ -22,7 +22,9 @@
22#include <sys/types.h> 22#include <sys/types.h>
23#include <sys/param.h> 23#include <sys/param.h>
24 24
25#include <stdlib.h> 25#ifdef HAVE_STDLIB_H
26# include <stdlib.h>
27#endif
26#include <string.h> 28#include <string.h>
27 29
28#ifdef HAVE_BLF_H 30#ifdef HAVE_BLF_H