qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 08/11] configure: Fix compiler warning in config.log


From: Stefan Weil
Subject: [Qemu-devel] [PATCH 08/11] configure: Fix compiler warning in config.log (undefined NULL)
Date: Sat, 17 Dec 2011 09:27:36 +0100

Avoid the warning when probing for xfs.

Signed-off-by: Stefan Weil <address@hidden>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index b755ad1..31ea3ff 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.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]