tests: only include syscall.h on linux systems
[urcu.git] / tests / test_urcu_wfq.c
index bcdd4c0c461b434dec90d6f69159feb77924b9ed..e042f5ec115eff39758af279f4d6049761b5d93e 100644 (file)
 #include <unistd.h>
 #include <stdio.h>
 #include <assert.h>
-#include <sys/syscall.h>
 #include <sched.h>
 #include <errno.h>
 
 #include <urcu/arch.h>
 
+#ifdef __linux__
+#include <syscall.h>
+#endif
+
 /* hardcoded number of CPUs */
 #define NR_CPUS 16384
 
This page took 0.023994 seconds and 4 git commands to generate.