aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-25 20:44:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-25 20:44:56 +0000
commita8fa0a6a37b6e90324e0dcbf4733324199623841 (patch)
tree1a7edec9aa04946afc22299bf587823488fb492f /src/os/unix/ngx_linux_config.h
parentd9d0ca12688034d481e2f1f5cf13a098338ec31d (diff)
downloadnginx-a8fa0a6a37b6e90324e0dcbf4733324199623841.tar.gz
nginx-a8fa0a6a37b6e90324e0dcbf4733324199623841.zip
nginx-0.0.1-2003-11-25-23:44:56 import
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index 22bb7c756..761263f57 100644
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -2,14 +2,14 @@
#define _NGX_LINUX_CONFIG_H_INCLUDED_
-#define _GNU_SOURCE /* pread, pwrite, gethostname, bzero */
+#define _GNU_SOURCE /* pread(), pwrite(), gethostname() */
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE
#include <unistd.h>
-#include <stddef.h> /* offsetof */
+#include <stddef.h> /* offsetof() */
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
@@ -27,16 +27,17 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <dirent.h>
#include <netdb.h>
-#define OFF_FMT "%lld"
+#if 0
#define SIZE_FMT "%d"
#define SIZEX_FMT "%x"
-#define TIME_FMT "%ld"
#define PID_FMT "%d"
#define RLIM_FMT "%lu"
+#endif