diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-08-31 13:51:13 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-31 13:51:13 +0000 |
| commit | 06bb9d294a77f5448fb7a4a6da0d9349c636ef9f (patch) | |
| tree | b0d1da622f47f5d61df1a24018f8e869e29e411d /src | |
| parent | c76ba2b2c5f4b8cebf1120ec774599ee5494db7f (diff) | |
| download | nginx-06bb9d294a77f5448fb7a4a6da0d9349c636ef9f.tar.gz nginx-06bb9d294a77f5448fb7a4a6da0d9349c636ef9f.tar.bz2 | |
fix building on FreeBSD without --with-file-aio
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_copy_filter_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_copy_filter_module.c b/src/http/ngx_http_copy_filter_module.c index f3d0f1161..4aefd8d7f 100644 --- a/src/http/ngx_http_copy_filter_module.c +++ b/src/http/ngx_http_copy_filter_module.c @@ -145,7 +145,7 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in) ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0, "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); -#if (NGX_HAVE_AIO_SENDFILE) +#if (NGX_HAVE_FILE_AIO && NGX_HAVE_AIO_SENDFILE) if (c->busy_sendfile) { off_t offset; |
