From: Stefan Weil <s...@weilnetz.de>

Avoid the warning when probing for xfs.

Signed-off-by: Stefan Weil <s...@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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)
 {
-- 
1.7.7.3


Reply via email to