From c3ed065ce8417aaa46490836648c173a5010f226 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 17 Jan 2014 14:18:45 +1100 Subject: - (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. --- ChangeLog | 2 ++ openbsd-compat/bcrypt_pbkdf.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 51eff2d6f..54a894d44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ - (dtucker) [poly1305.c] Wrap stdlib.h include inside #ifdef HAVE_STDINT_H. - (dtucker) [blocks.c fe25519.c ge25519.c hash.c sc25519.c verify.c] Include includes.h to pull in all of the compatibility stuff. + - (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside + #ifdef HAVE_STDINT_H. 20140118 - (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 @@ #include #include -#include +#ifdef HAVE_STDLIB_H +# include +#endif #include #ifdef HAVE_BLF_H -- cgit v1.2.3