projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
urcu-bp: move private definitions to .c file
[urcu.git]
/
tests
/
test_qsbr_gc.c
diff --git
a/tests/test_qsbr_gc.c
b/tests/test_qsbr_gc.c
index c9b3f4a8d78d25776a3267d7b6fa91c264b15801..0c1c124ae6773e07c203d6e4b219272b8589de39 100644
(file)
--- a/
tests/test_qsbr_gc.c
+++ b/
tests/test_qsbr_gc.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.024538 seconds
and
4
git commands to generate.