diff options
author | Steven Luo | 2016-05-27 06:53:13 +0200 |
---|---|---|
committer | Michael Tokarev | 2016-06-07 17:19:23 +0200 |
commit | 9e87a691bd46846e2232f8c30605c491c85ac987 (patch) | |
tree | cc7fc7545c56044794bf4d06bbbadfbd3c9e40c6 /configure | |
parent | docs: Fix a couple of typos in throttle.txt (diff) | |
download | qemu-9e87a691bd46846e2232f8c30605c491c85ac987.tar.gz qemu-9e87a691bd46846e2232f8c30605c491c85ac987.tar.xz qemu-9e87a691bd46846e2232f8c30605c491c85ac987.zip |
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 <steven+qemu@steven676.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2344,6 +2344,7 @@ if test "$nettle" != "no"; then nettle="yes" cat > $TMPC << EOF +#include <stddef.h> #include <nettle/pbkdf2.h> int main(void) { pbkdf2_hmac_sha256(8, NULL, 1000, 8, NULL, 8, NULL); |