summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/notify-inotify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/notify-inotify.c b/common/notify-inotify.c
index 53ab7d55..27719dbf 100644
--- a/common/notify-inotify.c
+++ b/common/notify-inotify.c
@@ -30,6 +30,10 @@
#include <string.h>
#include <sys/inotify.h>
+#ifndef IN_ONLYDIR
+#define IN_ONLYDIR 0x01000000
+#endif
+
#include "glib-ectomy.h"
#include "logging.h"
#include "notify.h"