File mercurial-sle10-inotify-fixes.diff of Package mercurial
hgext/inotify/linux/_inotify.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/hgext/inotify/linux/_inotify.c b/hgext/inotify/linux/_inotify.c index 2e7f770..3be8ea3 100644 --- a/hgext/inotify/linux/_inotify.c +++ b/hgext/inotify/linux/_inotify.c @@ -15,6 +15,16 @@ #include <sys/ioctl.h> #include <unistd.h> +#ifndef IN_ONLYDIR +#define IN_ONLYDIR 0x01000000 +#endif +#ifndef IN_DONT_FOLLOW +#define IN_DONT_FOLLOW 0x02000000 +#endif +#ifndef IN_MASK_ADD +#define IN_MASK_ADD 0x20000000 +#endif + #include <util.h> /* Variables used in the event string representation */