comparison src/os/unix/ngx_freebsd_config.h @ 467:bbd6b0b4a2b1 release-0.1.8

nginx-0.1.8-RELEASE import *) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
author Igor Sysoev <igor@sysoev.ru>
date Sat, 20 Nov 2004 19:52:20 +0000
parents 295d97d70c69
children 2ff194b74f1e
comparison
equal deleted inserted replaced
466:ee6d66462bff 467:bbd6b0b4a2b1
58 58
59 59
60 #include <ngx_auto_config.h> 60 #include <ngx_auto_config.h>
61 61
62 62
63 #ifndef HAVE_SELECT
64 #define HAVE_SELECT 1
65 #endif
66
67
68 #ifndef HAVE_POLL
69 #define HAVE_POLL 1
70 #endif
71 #if (HAVE_POLL) 63 #if (HAVE_POLL)
72 #include <poll.h> 64 #include <poll.h>
73 #endif 65 #endif
74 66
75 /* FreeBSD aio supported via kqueue */
76
77 #if (__FreeBSD__ == 4 && __FreeBSD_version >= 430000) \
78 || __FreeBSD_version >= 500014
79
80 #ifndef HAVE_AIO
81 #define HAVE_AIO 1
82 #endif
83
84 #endif
85 67
86 #if (HAVE_AIO) 68 #if (HAVE_AIO)
87 #include <aio.h> 69 #include <aio.h>
88 #endif 70 #endif
89 71
90 72
91 #if defined SO_ACCEPTFILTER && !defined HAVE_DEFERRED_ACCEPT 73 #if (HAVE_KQUEUE)
92 #define HAVE_DEFERRED_ACCEPT 1 74 #include <sys/event.h>
93 #endif 75 #endif
94 76
95 77
96 #if (HAVE_KQUEUE) 78 #if defined SO_ACCEPTFILTER && !defined HAVE_DEFERRED_ACCEPT
97 #include <sys/event.h> 79 #define HAVE_DEFERRED_ACCEPT 1
98 #endif 80 #endif
99 81
100 82
101 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012) 83 #if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012)
102 84