[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/9] l2tpv3 (configure): it is linux-specific
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 2/9] l2tpv3 (configure): it is linux-specific |
Date: |
Sat, 9 Aug 2014 00:38:55 +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>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index f7685b5..f49e618 100755
--- 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); }
EOF
if compile_prog "" "" ; then
--
1.7.10.4
- [Qemu-devel] [PULL 0/9] Trivial patches for 2014-08-09, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 6/9] hw/timer: Move extern declaration from .c to .h file, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 4/9] Show length mismatch error is hex, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 8/9] po: Add Chinese translation, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 1/9] hw/timer/imx_*: fix TIMER_MAX clash with system symbol, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 7/9] qemu-img: Check getchar() return value in read_password() for WIN32, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 5/9] virtio: Move extern declaration to header file, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 3/9] target-i386/cpu.c: Fix two error output indentation, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 9/9] build-sys: Move qapi-{types, visit, event}.o into util-obj-y, Michael Tokarev, 2014/08/08
- [Qemu-devel] [PULL 2/9] l2tpv3 (configure): it is linux-specific,
Michael Tokarev <=
- Re: [Qemu-devel] [PULL 0/9] Trivial patches for 2014-08-09, Peter Maydell, 2014/08/15