configure: Fix compiler warning in config.log (undefined NULL)
authorStefan Weil <sw@weilnetz.de>
Sat, 17 Dec 2011 08:27:36 +0000 (09:27 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 19 Dec 2011 11:03:42 +0000 (11:03 +0000)
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>
configure

index e3713af..e9725d4 100755 (executable)
--- 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)
 {