X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_rwlock_timing.c;h=628bed459af61e38afada3626e2b05e8dd659ab6;hp=96269c08b46a580ce65a7acb0cd523d1b75873e0;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=376ba488819af938e059e45315913c2ff5ce2b50 diff --git a/tests/test_rwlock_timing.c b/tests/test_rwlock_timing.c index 96269c0..628bed4 100644 --- a/tests/test_rwlock_timing.c +++ b/tests/test_rwlock_timing.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)