Mercurial > hg > nginx
diff src/os/unix/ngx_linux_config.h @ 248:e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Feb 2004 21:19:52 +0000 |
parents | 008276b9e061 |
children | 2a0540287298 |
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h @@ -55,6 +55,10 @@ extern ssize_t sendfile(int s, int fd, i #include <poll.h> #endif +#if (HAVE_EPOLL) +#include <sys/epoll.h> +#endif /* HAVE_EPOLL */ + #if defined TCP_DEFER_ACCEPT && !defined HAVE_DEFERRED_ACCEPT #define HAVE_DEFERRED_ACCEPT 1 @@ -76,14 +80,6 @@ extern ssize_t sendfile(int s, int fd, i #endif -/* - * SuSE 8.2 supports epoll's EPOLLET but misses it in <sys/epoll.h> - */ -#ifndef EPOLLET -#define EPOLLET 0x80000000 -#endif - - #define ngx_setproctitle(title)