summaryrefslogtreecommitdiff
path: root/udev/udev_sysdeps.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-08-08 22:36:58 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-08-08 22:36:58 +0200
commit6b8c150e12dba22e600da918828b9e648c10018e (patch)
tree136c76cb31e883fe71799ac4c70b903f050a61b5 /udev/udev_sysdeps.h
parent58a63088871a0b51850351f0217d2f180a440b6c (diff)
add inotify dummy definitions if inotify is not available
Diffstat (limited to 'udev/udev_sysdeps.h')
-rw-r--r--udev/udev_sysdeps.h6
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