sys/epool.h: add EPOLLET (edge-triggered) flag to fix compile break
dbus/dbus/dbus-pollable-set-epoll.c:258:18: error: ‘EPOLLET’ undeclared (first use in this function); did you mean ‘EPOLLERR’? 258 | event.events = EPOLLET; | ^~~~~~~ | EPOLLERR Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
ac3a667860
commit
f325ed7180
|
@ -84,6 +84,8 @@ enum EPOLL_EVENTS
|
|||
#define EPOLLWAKEUP EPOLLWAKEUP
|
||||
EPOLLONESHOT = 1u << 30,
|
||||
#define EPOLLONESHOT EPOLLONESHOT
|
||||
EPOLLET = 1u << 31,
|
||||
#define EPOLLET EPOLLET
|
||||
};
|
||||
|
||||
/* Flags to be passed to epoll_create1. */
|
||||
|
|
Loading…
Reference in New Issue