summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--ev.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/Changes b/Changes
index 2505e26..d648703 100644
--- a/Changes
+++ b/Changes
@@ -49,6 +49,7 @@ TODO: EVRUN_XXX?
- improve compatibility to older C++ compilers.
- (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have now
default arguments when compiled as C++.
+ - enable automake dependency tracking.
3.9 Thu Dec 31 07:59:59 CET 2009
- signalfd is no longer used by default and has to be requested
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)
{