Include sys-queue.h early to override system queue definitions on BSD
authorBlue Swirl <blauwirbel@gmail.com>
Fri, 4 Sep 2009 17:47:09 +0000 (17:47 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 4 Sep 2009 17:47:09 +0000 (17:47 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
net.c

diff --git a/net.c b/net.c
index ea9765a..340177e 100644 (file)
--- a/net.c
+++ b/net.c
@@ -31,6 +31,8 @@
 
 /* Needed early for CONFIG_BSD etc. */
 #include "config-host.h"
+/* Needed early to override system queue definitions on BSD */
+#include "sys-queue.h"
 
 #ifndef _WIN32
 #include <sys/times.h>