X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_looplen.c;h=3a750cc1b4e2fd5870dd85dfd6f44f2d41f61d70;hp=01394e0520292a892673d7d67f07210d4acd29e3;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=376ba488819af938e059e45315913c2ff5ce2b50 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)