projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d69f35
)
Fix OpenBSD build
author
Blue Swirl
<blauwirbel@gmail.com>
Fri, 17 Jul 2009 11:01:45 +0000
(11:01 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Fri, 17 Jul 2009 11:01:45 +0000
(11:01 +0000)
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 <blauwirbel@gmail.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index f4756931c01419edcccd86da17784e0aed0e2fd0..ce213c2cd43b686fc90991bcc96fcc5f71b8a14a 100644
(file)
--- 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>