summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2012-04-22 10:14:20 +0000
committerroot <root>2012-04-22 10:14:20 +0000
commit7a5605caed9da54c5b02d99104e68b8b96cc3c1b (patch)
tree2716714c01e7386c2a4ed65e3dfcea52169308e3 /ev.c
parentd1625af5490e10b682bc3f82db32f9e0a38ab4c6 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index cc8285d..449556d 100644
--- a/ev.c
+++ b/ev.c
@@ -361,7 +361,7 @@
/* on linux, we can use a (slow) syscall to avoid a dependency on pthread, */
/* which makes programs even slower. might work on other unices, too. */
#if EV_USE_CLOCK_SYSCALL
-# include <syscall.h>
+# include <sys/syscall.h>
# ifdef SYS_clock_gettime
# define clock_gettime(id, ts) syscall (SYS_clock_gettime, (id), (ts))
# undef EV_USE_MONOTONIC