[Top][All Lists]

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

[Qemu-trivial] [PATCH] l2tpv3 (configure): it is linux-specific

From: Michael Tokarev
Subject: [Qemu-trivial] [PATCH] l2tpv3 (configure): it is linux-specific
Date: Fri, 1 Aug 2014 23:20:24 +0400

Some non-linux systems, for example a system with
FreeBSD kernel and glibc, may declare struct mmsghdr
(in glibc) but may not have linux-specific header
file linux/ip.h.  The actual implementation in qemu
includes this linux-specific header file unconditionally,
so compilation fails if it is not present.  Include
this header in the configure test too.

Signed-off-by: Michael Tokarev <address@hidden>

--- a/configure
+++ b/configure
@@ -1723,6 +1723,7 @@ fi
 cat > $TMPC <<EOF
 #include <sys/socket.h>
+#include <linux/ip.h>
 int main(void) { return sizeof(struct mmsghdr); }
 if compile_prog "" "" ; then

reply via email to

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