X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_perthreadlock_timing.c;h=bc20ed0599cf4610fe42146f6456da90fc66f3d3;hp=26b642af1cbca9a17b012ea57ac852c360243aa3;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=376ba488819af938e059e45315913c2ff5ce2b50 diff --git a/tests/test_perthreadlock_timing.c b/tests/test_perthreadlock_timing.c index 26b642a..bc20ed0 100644 --- a/tests/test_perthreadlock_timing.c +++ b/tests/test_perthreadlock_timing.c @@ -29,12 +29,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + #if defined(_syscall0) _syscall0(pid_t, gettid) #elif defined(__NR_gettid)