diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-15 17:47:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-15 17:47:16 +0000 |
commit | d09f7a1e9aa5816493e2fef93074383d95140c13 (patch) | |
tree | 4aeabb503cda16fa45c78a56881c327e97de6d12 /src/os/unix/ngx_freebsd_config.h | |
parent | 87350f269da4d82f2436aac91ae87fbd37ca6c16 (diff) | |
download | nginx-d09f7a1e9aa5816493e2fef93074383d95140c13.tar.gz nginx-d09f7a1e9aa5816493e2fef93074383d95140c13.zip |
nginx-0.0.7-2004-06-15-21:47:16 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r-- | src/os/unix/ngx_freebsd_config.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h index f0a8430fe..ce77ab938 100644 --- a/src/os/unix/ngx_freebsd_config.h +++ b/src/os/unix/ngx_freebsd_config.h @@ -2,35 +2,38 @@ #define _NGX_FREEBSD_CONFIG_H_INCLUDED_ +#include <sys/types.h> +#include <sys/time.h> #include <unistd.h> -#include <stddef.h> /* offsetof() */ -#include <stdlib.h> #include <stdarg.h> +#include <stddef.h> /* offsetof() */ #include <stdio.h> +#include <stdlib.h> #include <errno.h> -#include <fcntl.h> #include <string.h> #include <signal.h> -#include <limits.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/time.h> +#include <pwd.h> +#include <grp.h> +#include <dirent.h> + #include <sys/uio.h> -#include <sys/ioctl.h> -#include <sys/resource.h> -#include <sys/sysctl.h> +#include <sys/filio.h> /* FIONBIO */ +#include <sys/stat.h> +#include <fcntl.h> + #include <sys/wait.h> #include <sys/mman.h> +#include <sys/resource.h> + #include <sys/socket.h> #include <netinet/in.h> -#include <netinet/tcp.h> /* TCP_NOPUSH */ #include <arpa/inet.h> -#include <pwd.h> -#include <grp.h> #include <netdb.h> -#include <dirent.h> -#include <libutil.h> /* setproctitle() brefore 4.1 */ + +#include <libutil.h> /* setproctitle() before 4.1 */ #include <osreldate.h> +#include <sys/sysctl.h> +#include <netinet/tcp.h> /* TCP_NOPUSH */ #include <ngx_auto_config.h> @@ -89,11 +92,6 @@ pid_t rfork_thread(int flags, void *stack, int (*func)(void *arg), void *arg); #endif -#ifndef HAVE_FIONBIO -#define HAVE_FIONBIO 1 -#endif - - /* STUB: autoconf */ #define ngx_setproctitle setproctitle |