X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_perthreadlock.c;h=6c7114ca059096f98340ce7f815a7b7a8fa40bca;hb=bc2433a9853a945a825c244e9ccfe341b73b2ceb;hp=c233724299d07fab562771ae6bb3eaa74dc57706;hpb=06f22bdbb0c4c4d5db42a2e2dc35818aa61415be;p=urcu.git 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