diff --git a/net.c b/net.c index ea9765a6d5..340177e3d7 100644 --- 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