X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_rwlock.c;h=9c8f97e39cf2232be5f461a655102ba1c3feac07;hb=bc2433a9853a945a825c244e9ccfe341b73b2ceb;hp=deca53bd75f437539cf9a44131002293b3d96e00;hpb=06f22bdbb0c4c4d5db42a2e2dc35818aa61415be;p=urcu.git 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