X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Finotify.h;h=fe251360e91548991054cdf38b5fffb54e3dcba0;hb=3159e2fc816f5c56b54f86f38748ba1ff9e18f9f;hp=78acdfd07a7cc418e42f28dfb3cc68e8151ba18b;hpb=570edb19d12dd3920b576db06b657b639fdbac00;p=musl 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 +#include 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