[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] slirp: reorder include to fix FreeBSD build failure
From: |
Ed Maste |
Subject: |
[Qemu-devel] [PATCH] slirp: reorder include to fix FreeBSD build failure |
Date: |
Fri, 12 Jul 2013 16:29:52 -0400 |
Signed-off-by: Ed Maste <address@hidden>
---
The issue comes from slirp/mbuf.h #defining m_flags, which conflicts with
a header included via <semaphore.h> 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
- [Qemu-devel] [PATCH] slirp: reorder include to fix FreeBSD build failure,
Ed Maste <=