projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
silence nonsensical warnings in timer_create
[musl]
/
include
/
sys
/
inotify.h
diff --git
a/include/sys/inotify.h
b/include/sys/inotify.h
index
78acdfd
..
a5bf96a
100644
(file)
--- a/
include/sys/inotify.h
+++ b/
include/sys/inotify.h
@@
-6,6
+6,7
@@
extern "C" {
#endif
#include <stdint.h>
#endif
#include <stdint.h>
+#include <fcntl.h>
struct inotify_event {
int wd;
struct inotify_event {
int wd;
@@
-13,8
+14,8
@@
struct inotify_event {
char name[];
};
char name[];
};
-#define IN_CLOEXEC
02000000
-#define IN_NONBLOCK
04000
+#define IN_CLOEXEC
O_CLOEXEC
+#define IN_NONBLOCK
O_NONBLOCK
#define IN_ACCESS 0x00000001
#define IN_MODIFY 0x00000002
#define IN_ACCESS 0x00000001
#define IN_MODIFY 0x00000002
@@
-38,6
+39,7
@@
struct inotify_event {
#define IN_ONLYDIR 0x01000000
#define IN_DONT_FOLLOW 0x02000000
#define IN_ONLYDIR 0x01000000
#define IN_DONT_FOLLOW 0x02000000
+#define IN_EXCL_UNLINK 0x04000000
#define IN_MASK_ADD 0x20000000
#define IN_ISDIR 0x40000000
#define IN_MASK_ADD 0x20000000
#define IN_ISDIR 0x40000000