Received: from eggs.gnu.org ([2001:4830:134:3::10]:55991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFr21-000339-Ry for qemu-devel@nongnu.org; Fri, 08 Aug 2014 16:45:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFr1t-0005mo-29 for qemu-devel@nongnu.org; Fri, 08 Aug 2014 16:44:57 -0400 From: Michael Tokarev Date: Sat, 9 Aug 2014 00:38:55 +0400 Message-Id: <1407530342-10259-3-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1407530342-10259-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1407530342-10259-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PULL 2/9] l2tpv3 (configure): it is linux-specific List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Michael Tokarev 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 --- 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 < +#include int main(void) { return sizeof(struct mmsghdr); } EOF if compile_prog "" "" ; then -- 1.7.10.4