diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-17 11:01:45 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-17 11:01:45 +0000 |
commit | 96555a96d724016e13190b28cffa3bc929ac60dc (patch) | |
tree | cdc3b50f1907d72303e9073bbe0ed38af63605b9 /vl.c | |
parent | 2d69f3590d533ee029fb9739a2bd5339dde22bcb (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> |