summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-15 11:01:41 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-15 11:01:41 +0000
commite8b9bf6bfc52751b75ade32609817ab859a3e889 (patch)
tree0fa246d0151794a594a84e64a11b581f0a2de99e /common
parenta567beac7aea3e557a436948572cb5fb5be91f42 (diff)
Provide IN_ONLYDIR if missing
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"