diff mbox

[14/17] configure: Fix compiler warning in config.log (undefined NULL)

Message ID 1324293158-25433-15-git-send-email-stefanha@linux.vnet.ibm.com
State New
Headers show

Commit Message

Stefan Hajnoczi Dec. 19, 2011, 11:12 a.m. UTC
From: Stefan Weil <sw@weilnetz.de>

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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index e3713af..e9725d4 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)
 {