X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=cb50586ec3176ea6b4e3b100c8ba156d97295c38;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hp=cd72fac5cae2079992f7e8d3bab5d899ef841f4a;hpb=b7ef17d170fe415c082fb22af19f49188554f05c;p=urcu.git diff --git a/tests/test_urcu_lfq.c b/tests/test_urcu_lfq.c index cd72fac..cb50586 100644 --- a/tests/test_urcu_lfq.c +++ b/tests/test_urcu_lfq.c @@ -34,12 +34,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + /* hardcoded number of CPUs */ #define NR_CPUS 16384 @@ -62,7 +65,7 @@ static inline pid_t gettid(void) #define _LGPL_SOURCE #endif #include -#include +#include static volatile int test_go, test_stop;