projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
align EPOLL_* flags with fcntl O_* flag definitions, which vary by arch
[musl]
/
include
/
sys
/
epoll.h
diff --git
a/include/sys/epoll.h
b/include/sys/epoll.h
index
3530a9a
..
0ff3d49
100644
(file)
--- a/
include/sys/epoll.h
+++ b/
include/sys/epoll.h
@@
-7,13
+7,14
@@
extern "C" {
#include <stdint.h>
#include <sys/types.h>
#include <stdint.h>
#include <sys/types.h>
+#include <fcntl.h>
#define __NEED_sigset_t
#include <bits/alltypes.h>
#define __NEED_sigset_t
#include <bits/alltypes.h>
-#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
enum EPOLL_EVENTS { __EPOLL_DUMMY };
#define EPOLLIN 0x001