aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-26 15:42:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-26 15:42:18 +0000
commitc0f8d91bde06aeeb53ff16d6c26490f5961f5a31 (patch)
tree034ba6291b7d4975868371dae533e4ab985c63f5 /src/os/unix/ngx_linux_config.h
parenta8fa0a6a37b6e90324e0dcbf4733324199623841 (diff)
downloadnginx-c0f8d91bde06aeeb53ff16d6c26490f5961f5a31.tar.gz
nginx-c0f8d91bde06aeeb53ff16d6c26490f5961f5a31.zip
nginx-0.0.1-2003-11-26-18:42:18 import
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index 761263f57..59e1b0976 100644
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -4,8 +4,10 @@
#define _GNU_SOURCE /* pread(), pwrite(), gethostname() */
+#if 0
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE
+#endif
#include <unistd.h>
@@ -24,8 +26,11 @@
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/sysctl.h>
+#include <sys/wait.h>
#include <sys/socket.h>
+#include <sys/sendfile.h>
#include <netinet/in.h>
+#include <netinet/tcp.h> /* TCP_CORK */
#include <arpa/inet.h>
#include <dirent.h>
#include <netdb.h>