changed HAVE_SYS_POLL_H to HAVE_POLL_H in httpd-std.c

This commit is contained in:
hyung-hwan 2017-01-25 06:03:21 +00:00
parent 2efe909dba
commit 2151e2997f

View File

@ -109,8 +109,8 @@
# if defined(HAVE_SYS_EPOLL_H) # if defined(HAVE_SYS_EPOLL_H)
# include <sys/epoll.h> # include <sys/epoll.h>
# endif # endif
# if defined(HAVE_SYS_POLL_H) # if defined(HAVE_POLL_H)
# include <sys/poll.h> # include <poll.h>
# endif # endif
# if defined(__linux__) # if defined(__linux__)
# include <limits.h> # include <limits.h>
@ -1861,7 +1861,7 @@ static int mux_writable (qse_httpd_t* httpd, qse_httpd_hnd_t handle, const qse_n
tv = tmout? QSE_SECNSEC_TO_MSEC (tmout->sec, tmout->nsec): -1; tv = tmout? QSE_SECNSEC_TO_MSEC (tmout->sec, tmout->nsec): -1;
return os2_select (&handle, 0, 1, 0, tv); return os2_select (&handle, 0, 1, 0, tv);
#elif defined(HAVE_SYS_POLL_H) #elif defined(HAVE_POLL_H)
struct pollfd p; struct pollfd p;
int tv; int tv;