From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDIDi-00013d-Gj for qemu-devel@nongnu.org; Fri, 01 Aug 2014 15:10:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDIDa-0004Dk-Uu for qemu-devel@nongnu.org; Fri, 01 Aug 2014 15:10:26 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:37979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDIDa-0004Bf-Ne for qemu-devel@nongnu.org; Fri, 01 Aug 2014 15:10:18 -0400 Message-ID: <53DBE610.1070203@msgid.tls.msk.ru> Date: Fri, 01 Aug 2014 23:10:08 +0400 From: Michael Tokarev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] 2.1 build failure on [k]freebsd: net/l2tpv3.c:26: linux/ip.h: No such file or directory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Anton Ivanov 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