X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_bp.c;h=52e7f457621939983cf2ca0e18e877399197029d;hp=f475fa6bd574ada9bf2013f805b9a222a5f76058;hb=65fcc7e9957a1658327acd121c3d8c3b36f4a94e;hpb=92e8d9d64a97e2d098cefa223208b2d18118194e diff --git a/tests/test_urcu_bp.c b/tests/test_urcu_bp.c index f475fa6..52e7f45 100644 --- a/tests/test_urcu_bp.c +++ b/tests/test_urcu_bp.c @@ -31,12 +31,15 @@ #include #include #include -#include #include #include #include +#ifdef __linux__ +#include +#endif + /* hardcoded number of CPUs */ #define NR_CPUS 16384