From 9e87a691bd46846e2232f8c30605c491c85ac987 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Thu, 26 May 2016 21:53:13 -0700 Subject: [PATCH] Fix configure test for PBKDF2 in nettle On my Debian jessie system, including nettle/pbkdf2.h does not cause NULL to be defined, which causes the test to fail to compile. Include stddef.h to bring in a definition of NULL. Cc: qemu-trivial@nongnu.org Cc: qemu-stable@nongnu.org Signed-off-by: Steven Luo Signed-off-by: Michael Tokarev --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 2d86e71efc..4627d2c1eb 100755 --- a/configure +++ b/configure @@ -2344,6 +2344,7 @@ if test "$nettle" != "no"; then nettle="yes" cat > $TMPC << EOF +#include #include int main(void) { pbkdf2_hmac_sha256(8, NULL, 1000, 8, NULL, 8, NULL); -- 2.11.4.GIT