qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] 2.1 build failure on [k]freebsd: net/l2tpv3.c:26: linux/ip.


From: Michael Tokarev
Subject: [Qemu-devel] 2.1 build failure on [k]freebsd: net/l2tpv3.c:26: linux/ip.h: No such file or directory
Date: Fri, 01 Aug 2014 23:10:08 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.6.0

The test in configure checks for struct mmsghdr in sys/socket.h,
but actual source (net/l2tpv3.c) includes a linux-specific header,
linux/ip.h.  This fails on at least kFreeBSD (Debian with FreeBSD
header and glibc), because glibc declares mmsghdr but does not
provide linux/ip.h.

Probably the configure test should also include this linux-specific
header.  At least this is what I plan to do to fix the build failure
with 2.1.

Thanks,

/mjt



reply via email to

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