From 6b8c150e12dba22e600da918828b9e648c10018e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 8 Aug 2008 22:36:58 +0200 Subject: [PATCH] add inotify dummy definitions if inotify is not available --- udev/udev_sysdeps.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/udev/udev_sysdeps.h b/udev/udev_sysdeps.h index f08053e5..d0e9bfcf 100644 --- a/udev/udev_sysdeps.h +++ b/udev/udev_sysdeps.h @@ -41,6 +41,12 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask) { return -1; } + +#define IN_CREATE 0 +#define IN_DELETE 0 +#define IN_MOVE 0 +#define IN_CLOSE_WRITE 0 + #endif #ifndef HAVE_STRLCPY -- 2.39.5