make sys/inotify.h work

f38
Matthias Clasen 19 years ago
parent 7a172d1db0
commit 79f35cfa1a

@ -48,8 +48,8 @@
/* Timings for pairing MOVED_TO / MOVED_FROM events */
#define PROCESS_EVENTS_TIME 125 /* milliseconds */
--- gnome-vfs-2.15.1/modules/inotify-path.c.use-sys-inotify 2006-05-17 13:27:10.000000000 -0400
+++ gnome-vfs-2.15.1/modules/inotify-path.c 2006-05-17 13:29:09.000000000 -0400
@@ -28,18 +28,11 @@
+++ gnome-vfs-2.15.1/modules/inotify-path.c 2006-05-17 13:50:50.000000000 -0400
@@ -28,18 +28,14 @@
/* Don't put conflicting kernel types in the global namespace: */
#define __KERNEL_STRICT_NAMES
@ -62,6 +62,9 @@
- */
-#include "local_inotify.h"
+#include <sys/inotify.h>
+#ifndef IN_ONLYDIR
+#define IN_ONLYDIR 0x01000000
+#endif
#elif defined (HAVE_LINUX_INOTIFY_H)
#include <linux/inotify.h>
#endif

Loading…
Cancel
Save