]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Thu, 13 Apr 2017 18:56:06 +0000 (19:56 +0100)
committerRoy Marples <roy@marples.name>
Thu, 13 Apr 2017 18:56:06 +0000 (19:56 +0100)
tests/eloop-bench/Makefile
tests/eloop-bench/eloop-bench.c

index e3be36c8da4d94d6cf64920d5fd0d85462aadff5..90d258789163c9fd25fa38229f6910c60bed5db2 100644 (file)
@@ -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
index e401945ac670a8dcfc410424f6e0e63cbe8998be..b0ef959756c7190b6507ff55d6ca91a10d1364d9 100644 (file)
  */
 
 #include <sys/resource.h>
-
 #include <err.h>
-#include <stdlib.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <time.h>
 #include <unistd.h>