chiark / gitweb /
add inotify dummy definitions if inotify is not available
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:36:58 +0000 (22:36 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:36:58 +0000 (22:36 +0200)
udev/udev_sysdeps.h

index f08053e5f130141c15bf1b10a77a034bc8e4e044..d0e9bfcf2b9a70275a99330dc64a280a8f56af71 100644 (file)
@@ -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