aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-02 21:19:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-02 21:19:52 +0000
commita4b16df728abe1e989a8311e901ba5d9ae30328e (patch)
tree35d3d0ba37e1c285421688846c2954aa297a642c /src/os/unix/ngx_linux_config.h
parent328af6e8cd26f274bf385cfff3c888725746ea4f (diff)
downloadnginx-a4b16df728abe1e989a8311e901ba5d9ae30328e.tar.gz
nginx-a4b16df728abe1e989a8311e901ba5d9ae30328e.zip
nginx-0.0.2-2004-02-03-00:19:52 import
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index de3f2871e..e43a6caa7 100644
--- 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, int32_t *offset, size_t size);
#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, int32_t *offset, size_t size);
#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)