X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_rwlock.c;h=9c8f97e39cf2232be5f461a655102ba1c3feac07;hp=deca53bd75f437539cf9a44131002293b3d96e00;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=376ba488819af938e059e45315913c2ff5ce2b50 diff --git a/tests/test_rwlock.c b/tests/test_rwlock.c index deca53b..9c8f97e 100644 --- a/tests/test_rwlock.c +++ b/tests/test_rwlock.c @@ -31,12 +31,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + /* hardcoded number of CPUs */ #define NR_CPUS 16384