server: add F_NOTIFY defines

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Feb 10 06:00:34 CST 2004


        Huw Davies <huw at codeweavers.com>
        Add the F_NOTIFY defines if we're compiling with linux and
        they're not in the system header files.
-- 
Huw Davies
huw at codeweavers.com
Index: server/change.c
===================================================================
RCS file: /home/wine/wine/server/change.c,v
retrieving revision 1.19
diff -u -r1.19 change.c
--- server/change.c	5 Feb 2004 01:45:58 -0000	1.19
+++ server/change.c	10 Feb 2004 11:57:11 -0000
@@ -35,6 +35,19 @@
 #include "thread.h"
 #include "request.h"
 
+#ifdef linux
+#ifndef F_NOTIFY
+#define F_NOTIFY 1026
+#define DN_ACCESS       0x00000001      /* File accessed */
+#define DN_MODIFY       0x00000002      /* File modified */
+#define DN_CREATE       0x00000004      /* File created */
+#define DN_DELETE       0x00000008      /* File removed */
+#define DN_RENAME       0x00000010      /* File renamed */
+#define DN_ATTRIB       0x00000020      /* File changed attibutes */
+#define DN_MULTISHOT    0x80000000      /* Don't remove notifier */
+#endif
+#endif
+
 struct change
 {
     struct object  obj;      /* object header */



More information about the wine-patches mailing list