summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2008-10-01 18:50:03 +0000
committerroot <root>2008-10-01 18:50:03 +0000
commita846d3eb2ec52fa4f189ec935266c1109b2f4bcf (patch)
tree547e674768691dcaf11969c124a6688e0e669c5e /ev.c
parent03ba7182d3e525203cd8535ce154a94242a6f511 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 4e86506..617f5ad 100644
--- a/ev.c
+++ b/ev.c
@@ -289,6 +289,11 @@ extern "C" {
#if EV_USE_INOTIFY
# include <sys/inotify.h>
+/* 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