diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-08-08 22:36:58 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-08-08 22:36:58 +0200 |
commit | 6b8c150e12dba22e600da918828b9e648c10018e (patch) | |
tree | 136c76cb31e883fe71799ac4c70b903f050a61b5 /udev/udev_sysdeps.h | |
parent | 58a63088871a0b51850351f0217d2f180a440b6c (diff) |
add inotify dummy definitions if inotify is not available
Diffstat (limited to 'udev/udev_sysdeps.h')
-rw-r--r-- | udev/udev_sysdeps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/udev/udev_sysdeps.h b/udev/udev_sysdeps.h index f08053e5f1..d0e9bfcf2b 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 |