add inotify dummy definitions if inotify is not available

This commit is contained in:
Kay Sievers
2008-08-08 22:36:58 +02:00
parent 58a6308887
commit 6b8c150e12
+6
View 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