From 6a1cc903bf2db47b7061791b9e878ededcba1aa4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 22 May 2003 15:23:47 +0000 Subject: nginx-0.0.1-2003-05-22-19:23:47 import --- src/core/ngx_config.h | 4 ++++ src/core/ngx_connection.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core') 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 -- cgit