diff --git a/include/sys/epoll.h b/include/sys/epoll.h index 3530a9ac..0ff3d491 100644 --- a/include/sys/epoll.h +++ b/include/sys/epoll.h @@ -7,13 +7,14 @@ extern "C" { #include #include +#include #define __NEED_sigset_t #include -#define EPOLL_CLOEXEC 02000000 -#define EPOLL_NONBLOCK 04000 +#define EPOLL_CLOEXEC O_CLOEXEC +#define EPOLL_NONBLOCK O_NONBLOCK enum EPOLL_EVENTS { __EPOLL_DUMMY }; #define EPOLLIN 0x001