qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 96555a9] Fix OpenBSD build


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 96555a9] Fix OpenBSD build
Date: Fri, 17 Jul 2009 11:04:16 -0000

From: Blue Swirl <address@hidden>

The header sys-queue.h must be #included early, otherwise at some point OS
queue macros will be used. On OpenBSD, those don't define TAILQ_FOREACH_SAFE.

Signed-off-by: Blue Swirl <address@hidden>

diff --git a/vl.c b/vl.c
index f475693..ce213c2 100644
--- a/vl.c
+++ b/vl.c
@@ -31,6 +31,8 @@
 
 /* Needed early for HOST_BSD etc. */
 #include "config-host.h"
+/* Needed early to override system queue definitions on BSD */
+#include "sys-queue.h"
 
 #ifndef _WIN32
 #include <libgen.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]