Received: from eggs.gnu.org ([2001:4830:134:3::10]:57752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxjyZ-0002s8-0p for qemu-devel@nongnu.org; Fri, 12 Jul 2013 16:30:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxjyX-0005VW-LF for qemu-devel@nongnu.org; Fri, 12 Jul 2013 16:29:58 -0400 Received: from [216.171.111.232] (port=37574 helo=freebsd.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxjyX-0005V2-FM for qemu-devel@nongnu.org; Fri, 12 Jul 2013 16:29:57 -0400 From: Ed Maste Date: Fri, 12 Jul 2013 16:29:52 -0400 Message-Id: <1373660992-92075-1-git-send-email-emaste@freebsd.org> Subject: [Qemu-devel] [PATCH] slirp: reorder include to fix FreeBSD build failure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Ed Maste Signed-off-by: Ed Maste --- The issue comes from slirp/mbuf.h #defining m_flags, which conflicts with a header included via on FreeBSD. I'm not sure exactly when this broke; I assume that it used to work because something previously caused the conflicting header to be included earlier, and that has now been removed. slirp/slirp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp/slirp.c b/slirp/slirp.c index 80b28ea..231afc8 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -24,8 +24,8 @@ #include "qemu-common.h" #include "qemu/timer.h" #include "sysemu/char.h" -#include "slirp.h" #include "hw/hw.h" +#include "slirp.h" /* host loopback address */ struct in_addr loopback_addr; -- 1.7.11.5