From: Roy Marples Date: Thu, 13 Apr 2017 18:56:06 +0000 (+0100) Subject: Fix compile on Linux. X-Git-Tag: v7.0.0-beta3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60298dded1daab82a4731377a9e6264917ccf71a;p=thirdparty%2Fdhcpcd.git Fix compile on Linux. --- diff --git a/tests/eloop-bench/Makefile b/tests/eloop-bench/Makefile index e3be36c8..90d25878 100644 --- a/tests/eloop-bench/Makefile +++ b/tests/eloop-bench/Makefile @@ -10,7 +10,8 @@ CSTD?= c99 CFLAGS+= -std=${CSTD} CPPFLAGS+= -DNO_CONFIG_H -CPPFLAGS+= -I${TOP} -I${TOP}/src -I${TOP}/compat +CPPFLAGS+= -DQUEUE_H=../compat/queue.h +CPPFLAGS+= -I${TOP}/src # Default is to let eloop decide #CPPFLAGS+= -DHAVE_KQUEUE diff --git a/tests/eloop-bench/eloop-bench.c b/tests/eloop-bench/eloop-bench.c index e401945a..b0ef9597 100644 --- a/tests/eloop-bench/eloop-bench.c +++ b/tests/eloop-bench/eloop-bench.c @@ -26,10 +26,9 @@ */ #include - #include -#include #include +#include #include #include