diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ngx_config.h | 4 | ||||
-rw-r--r-- | src/core/ngx_connection.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h index b72412912..b9a0988dc 100644 --- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -50,6 +50,10 @@ #endif +#ifndef INFTIM /* Linux */ +#define INFTIM -1 +#endif + #ifndef INADDR_NONE /* Solaris */ #define INADDR_NONE ((unsigned long) -1) #endif diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index a8b8804f4..02108426c 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -114,7 +114,7 @@ ngx_chain_t *ngx_write_chain(ngx_connection_t *c, ngx_chain_t *in, off_t flush); /* TODO: move it to OS specific file */ #if (__FreeBSD__) -ngx_chain_t *ngx_freebsd_write_chain(ngx_connection_t *c, ngx_chain_t *in); +ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in); ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in); #endif |