X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_looplen.c;h=3a750cc1b4e2fd5870dd85dfd6f44f2d41f61d70;hp=01394e0520292a892673d7d67f07210d4acd29e3;hb=9d2614f07691a813a3c560a6c0bcd0a7be854ed5;hpb=06f22bdbb0c4c4d5db42a2e2dc35818aa61415be diff --git a/tests/test_looplen.c b/tests/test_looplen.c index 01394e0..3a750cc 100644 --- a/tests/test_looplen.c +++ b/tests/test_looplen.c @@ -30,12 +30,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + #if defined(_syscall0) _syscall0(pid_t, gettid) #elif defined(__NR_gettid)