Mercurial > hg > nginx
comparison src/os/unix/ngx_solaris_config.h @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | c966c09be66b |
children | 11fbd0fc041d |
comparison
equal
deleted
inserted
replaced
194:2357fa41738a | 195:8dee38ea9117 |
---|---|
8 | 8 |
9 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */ | 9 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */ |
10 | 10 |
11 #include <unistd.h> | 11 #include <unistd.h> |
12 #include <inttypes.h> | 12 #include <inttypes.h> |
13 #include <stddef.h> /* offsetof */ | 13 #include <stddef.h> /* offsetof() */ |
14 #include <stdlib.h> | 14 #include <stdlib.h> |
15 #include <stdarg.h> | 15 #include <stdarg.h> |
16 #include <stdio.h> | 16 #include <stdio.h> |
17 #include <fcntl.h> | 17 #include <fcntl.h> |
18 #include <signal.h> | 18 #include <signal.h> |
26 #include <netinet/in.h> | 26 #include <netinet/in.h> |
27 #include <arpa/inet.h> | 27 #include <arpa/inet.h> |
28 #include <netdb.h> | 28 #include <netdb.h> |
29 | 29 |
30 | 30 |
31 typedef uint32_t u_int32_t; | 31 #if 0 |
32 | |
33 #define OFF_FMT "%lld" | 32 #define OFF_FMT "%lld" |
34 #define SIZE_FMT "%d" | 33 #define SIZE_FMT "%d" |
35 #define SIZEX_FMT "%x" | 34 #define SIZEX_FMT "%x" |
36 #define TIME_FMT "%ld" | 35 #define TIME_FMT "%ld" |
37 #define PID_FMT "%ld" | 36 #define PID_FMT "%ld" |
38 #define RLIM_FMT "%lu" | 37 #define RLIM_FMT "%lu" |
38 #endif | |
39 | 39 |
40 | 40 |
41 #ifndef HAVE_SELECT | 41 #ifndef HAVE_SELECT |
42 #define HAVE_SELECT 1 | 42 #define HAVE_SELECT 1 |
43 #endif | 43 #endif |