projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: API rename: remove -> del
[urcu.git]
/
tests
/
test_urcu_timing.c
diff --git
a/tests/test_urcu_timing.c
b/tests/test_urcu_timing.c
index 8e1a8104f6ee649409537edbfc9cab7f97798d00..44235ce5c774e4bdf6091c08cac432f38325fade 100644
(file)
--- a/
tests/test_urcu_timing.c
+++ b/
tests/test_urcu_timing.c
@@
-29,10
+29,13
@@
#include <unistd.h>
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
#include <assert.h>
-#include <sys/syscall.h>
#include <errno.h>
#include <urcu/arch.h>
#include <errno.h>
#include <urcu/arch.h>
+#ifdef __linux__
+#include <syscall.h>
+#endif
+
#if defined(_syscall0)
_syscall0(pid_t, gettid)
#elif defined(__NR_gettid)
#if defined(_syscall0)
_syscall0(pid_t, gettid)
#elif defined(__NR_gettid)
This page took
0.022738 seconds
and
4
git commands to generate.