summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2010-10-22 11:21:52 +0000
committerroot <root>2010-10-22 11:21:52 +0000
commit955354ad4b62d43d5089fe785ba704f715c0e3d0 (patch)
tree610c069e96f615126ec416c8d29ac0e5bb114761 /ev.c
parent31ab8232f527412561047203a977c9e8b8d6c539 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 1dc9c45..c4cdba8 100644
--- a/ev.c
+++ b/ev.c
@@ -384,7 +384,6 @@ EV_CPP(extern "C" {)
#endif
#if EV_USE_INOTIFY
-# include <sys/utsname.h>
# include <sys/statfs.h>
# include <sys/inotify.h>
/* some very old inotify.h headers don't have IN_DONT_FOLLOW */
@@ -525,6 +524,10 @@ static EV_ATOMIC_T have_monotonic; /* did clock_gettime (CLOCK_MONOTONIC) work?
/*****************************************************************************/
+#ifdef __linux
+# include <sys/utsname.h>
+#endif
+
static unsigned int noinline
ev_linux_version (void)
{