projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'urcu/ht-shrink-help' into urcu/ht-shrink
[urcu.git]
/
tests
/
test_qsbr_timing.c
diff --git
a/tests/test_qsbr_timing.c
b/tests/test_qsbr_timing.c
index f9f450445882c0fb462b082989a730fe71bb6f52..792554867735702c007736c2713125ffa8060686 100644
(file)
--- a/
tests/test_qsbr_timing.c
+++ b/
tests/test_qsbr_timing.c
@@
-29,11
+29,14
@@
#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.024341 seconds
and
4
git commands to generate.