diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-17 11:01:45 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-22 15:40:54 -0500 |
commit | e93d914384e3d37fa7965dea95b51cc7459832a0 (patch) | |
tree | 7f17fcc8cc3b26b3b7c1ae0c36dd69af37f12791 /vl.c | |
parent | 22528739c959b461955501bdfe04c6a1ff756ed0 (diff) |
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>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |