From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMh9i-0003PU-CI for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMh9a-0002ss-DN for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:10 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:42665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMh9a-0002sl-80 for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:02 -0400 Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Aug 2014 11:37:01 -0600 From: Michael Roth Date: Wed, 27 Aug 2014 12:36:01 -0500 Message-Id: <1409160982-16389-5-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1409160982-16389-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1409160982-16389-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 04/25] 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-stable@nongnu.org From: 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 (cherry picked from commit bff6cb72961f1bd2c766efe85ff5850fd8d7e77d) Signed-off-by: Michael Roth --- 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.9.1