Просмотр исходного кода

Add sys/epoll.h

EPOLL_CLOEXEC should come from this header and wasn't explicitly included before
kwasimensah 7 лет назад
Родитель
Сommit
9ee372e513
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/core/lib/iomgr/ev_epollex_linux.cc

+ 1 - 0
src/core/lib/iomgr/ev_epollex_linux.cc

@@ -33,6 +33,7 @@
 #include <poll.h>
 #include <pthread.h>
 #include <string.h>
+#incldue <sys/epoll.h>
 #include <sys/socket.h>
 #include <sys/syscall.h>
 #include <unistd.h>