--- libev/ev.c 2010/10/22 10:09:12 1.355 +++ libev/ev.c 2010/10/22 11:21:52 1.356 @@ -384,7 +384,6 @@ #endif #if EV_USE_INOTIFY -# include # include # include /* some very old inotify.h headers don't have IN_DONT_FOLLOW */ @@ -525,6 +524,10 @@ /*****************************************************************************/ +#ifdef __linux +# include +#endif + static unsigned int noinline ev_linux_version (void) {