X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_perthreadlock.c;h=6c7114ca059096f98340ce7f815a7b7a8fa40bca;hp=c233724299d07fab562771ae6bb3eaa74dc57706;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=376ba488819af938e059e45315913c2ff5ce2b50 diff --git a/tests/test_perthreadlock.c b/tests/test_perthreadlock.c index c233724..6c7114c 100644 --- a/tests/test_perthreadlock.c +++ b/tests/test_perthreadlock.c @@ -31,12 +31,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + /* hardcoded number of CPUs */ #define NR_CPUS 16384