summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil2011-12-17 09:27:36 +0100
committerStefan Hajnoczi2011-12-19 12:03:42 +0100
commitffc41d10b01b9c72a7dd412b271164530c14bdb8 (patch)
tree6b815f999faf09f82cc828b0fb352997c3752ecb /configure
parentconfigure: Fix compiler warnings in config.log (uninitialized variable) (diff)
downloadqemu-ffc41d10b01b9c72a7dd412b271164530c14bdb8.tar.gz
qemu-ffc41d10b01b9c72a7dd412b271164530c14bdb8.tar.xz
qemu-ffc41d10b01b9c72a7dd412b271164530c14bdb8.zip
configure: Fix compiler warning in config.log (undefined NULL)
Avoid the warning when probing for xfs. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index e3713afd3e..e9725d4480 100755
--- a/configure
+++ b/configure
@@ -1670,6 +1670,7 @@ fi
# xfsctl() probe, used for raw-posix
if test "$xfs" != "no" ; then
cat > $TMPC << EOF
+#include <stddef.h> /* NULL */
#include <xfs/xfs.h>
int main(void)
{