diff options
| author | Roy Marples <roy@marples.name> | 2017-04-13 19:56:06 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-04-13 19:56:06 +0100 |
| commit | 4bb754e95f5779048d5e032a8a2a4cb7a9cc8f77 (patch) | |
| tree | 020a3b1c62bb4a0078b1a37201b147b5c3424092 /tests | |
| parent | ee2a9c9213ff96d84f9d3b21ee43cff3470d6b6f (diff) | |
| download | dhcpcd-4bb754e95f5779048d5e032a8a2a4cb7a9cc8f77.tar.xz | |
Fix compile on Linux.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/eloop-bench/Makefile | 3 | ||||
| -rw-r--r-- | tests/eloop-bench/eloop-bench.c | 3 |
2 files changed, 3 insertions, 3 deletions
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 <sys/resource.h> - #include <err.h> -#include <stdlib.h> #include <stdio.h> +#include <stdlib.h> #include <time.h> #include <unistd.h> |
