mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Fix OpenBSD build
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>
This commit is contained in:
parent
2d69f3590d
commit
96555a96d7
1 changed files with 2 additions and 0 deletions
2
vl.c
2
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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue