From: Kay Sievers Date: Fri, 8 Aug 2008 20:36:58 +0000 (+0200) Subject: add inotify dummy definitions if inotify is not available X-Git-Tag: 174~1642 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6b8c150e12dba22e600da918828b9e648c10018e add inotify dummy definitions if inotify is not available --- diff --git a/udev/udev_sysdeps.h b/udev/udev_sysdeps.h index f08053e5f..d0e9bfcf2 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