--- libev/ev.c 2008/10/01 04:25:25 1.262 +++ libev/ev.c 2008/10/01 18:50:03 1.263 @@ -289,6 +289,11 @@ #if EV_USE_INOTIFY # include +/* some very old inotify.h headers don't have IN_DONT_FOLLOW */ +# ifndef IN_DONT_FOLLOW +# undef EV_USE_INOTIFY +# define EV_USE_INOTIFY 0 +# endif #endif #if EV_SELECT_IS_WINSOCKET