From bdb63eca780dfa19b24412bcbfcf424eb7c3c89c Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 10 Feb 2004 20:08:24 +0000 Subject: [PATCH] Add the F_NOTIFY defines if we're compiling with linux and they're not in the system header files. --- server/change.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/server/change.c b/server/change.c index cc2000b69e4..e520677fda8 100644 --- a/server/change.c +++ b/server/change.c @@ -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 */