projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rculfstack: document "push"
[urcu.git]
/
tests
/
test_mutex.c
diff --git
a/tests/test_mutex.c
b/tests/test_mutex.c
index 747bcc442dec2a63a507b0bf0be075fe5ee024b7..1194b0298a68bffd75bb382bbe5c601d123da7ec 100644
(file)
--- a/
tests/test_mutex.c
+++ b/
tests/test_mutex.c
@@
-31,12
+31,15
@@
#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.027625 seconds
and
4
git commands to generate.