diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-26 13:00:58 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-26 13:00:58 -0500 |
commit | b4d8a16c1afde1d06e1d46f22f5fab2cda408122 (patch) | |
tree | 166e8762fd4bd8a4be9757a8af01ec46472f1337 /include/sys/inotify.h | |
parent | 56c6943efed41adad6b3c11b2992628a5b0f1d27 (diff) | |
download | musl-b4d8a16c1afde1d06e1d46f22f5fab2cda408122.tar.gz musl-b4d8a16c1afde1d06e1d46f22f5fab2cda408122.tar.bz2 musl-b4d8a16c1afde1d06e1d46f22f5fab2cda408122.tar.xz musl-b4d8a16c1afde1d06e1d46f22f5fab2cda408122.zip |
fix eventfd and inotify nonblock/cloexec flags to match arch values
Diffstat (limited to 'include/sys/inotify.h')
-rw-r--r-- | include/sys/inotify.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/inotify.h b/include/sys/inotify.h index 78acdfd0..fe251360 100644 --- a/include/sys/inotify.h +++ b/include/sys/inotify.h @@ -6,6 +6,7 @@ extern "C" { #endif #include <stdint.h> +#include <fcntl.h> struct inotify_event { int wd; @@ -13,8 +14,8 @@ struct inotify_event { 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 |