From 96555a96d724016e13190b28cffa3bc929ac60dc Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 17 Jul 2009 11:01:45 +0000 Subject: 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 --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index f4756931c0..ce213c2cd4 100644 --- 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 -- cgit v1.2.3