diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2018-06-14 13:04:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 13:04:23 -0700 |
commit | c2e40173b611fb668bb459514dd66c2a9d7dff15 (patch) | |
tree | b291babc1b3cc1dbe0108dcc37bb340db21345e8 | |
parent | 545343eea34e2a129b25377834c154048558e1fc (diff) | |
parent | 7d594b2bb34694e7d6f58ee9d64f3977cec6fafa (diff) |
Merge pull request #15726 from kwasimensah/master
Add sys/epoll.h header to relevant files
-rw-r--r-- | src/core/lib/iomgr/ev_epollex_linux.cc | 1 | ||||
-rw-r--r-- | src/core/lib/iomgr/is_epollexclusive_available.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc index 55a2b98372..a9b2adf75d 100644 --- a/src/core/lib/iomgr/ev_epollex_linux.cc +++ b/src/core/lib/iomgr/ev_epollex_linux.cc @@ -33,6 +33,7 @@ #include <poll.h> #include <pthread.h> #include <string.h> +#include <sys/epoll.h> #include <sys/socket.h> #include <sys/syscall.h> #include <unistd.h> diff --git a/src/core/lib/iomgr/is_epollexclusive_available.cc b/src/core/lib/iomgr/is_epollexclusive_available.cc index 036b77866f..8df6a66e6b 100644 --- a/src/core/lib/iomgr/is_epollexclusive_available.cc +++ b/src/core/lib/iomgr/is_epollexclusive_available.cc @@ -27,6 +27,7 @@ #include <grpc/support/log.h> #include <errno.h> +#include <sys/epoll.h> #include <sys/eventfd.h> #include <unistd.h> |