chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a6308
)
add inotify dummy definitions if inotify is not available
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:36:58 +0000
(22:36 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 8 Aug 2008 20:36:58 +0000
(22:36 +0200)
udev/udev_sysdeps.h
patch
|
blob
|
history
diff --git
a/udev/udev_sysdeps.h
b/udev/udev_sysdeps.h
index f08053e5f130141c15bf1b10a77a034bc8e4e044..d0e9bfcf2b9a70275a99330dc64a280a8f56af71 100644
(file)
--- 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