Assume that sys/epoll.h exists
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 9 May 2016 21:46:17 +0000 (21:46 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 9 May 2016 21:46:17 +0000 (21:46 +0000)
commit6d44012cb5fdaceed6f00d9526e5906afbcfc8c5
tree903301f3e94c1683f2c115c2dce47f9f69ff065c
parent071b9274f4c867c213a92cae587d0ea541618389
Assume that sys/epoll.h exists

This header file was added in glibc-2.3.2,
so it's safe to assume its availability.

* configure.ac (AC_CHECK_HEADERS): Remove sys/epoll.h.
* epoll.c: Include <sys/epoll.h> unconditionally.
Compile [HAVE_SYS_EPOLL_H] code unconditionally.
* tests/epoll_ctl.c: Do not check for HAVE_SYS_EPOLL_H.
* tests/epoll_wait.c: Likewise.
configure.ac
epoll.c
tests/epoll_ctl.c
tests/epoll_wait.c