Skip to content

Commit

Permalink
Fix OpenBSD build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
blueswirl committed Jul 17, 2009
1 parent 2d69f35 commit 96555a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vl.c
Expand Up @@ -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>
Expand Down

0 comments on commit 96555a9

Please sign in to comment.