summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_sendfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_sendfile.h')
-rw-r--r--src/os/win32/ngx_sendfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/win32/ngx_sendfile.h b/src/os/win32/ngx_sendfile.h
index 053db8ec2..a80750bef 100644
--- a/src/os/win32/ngx_sendfile.h
+++ b/src/os/win32/ngx_sendfile.h
@@ -4,13 +4,14 @@
#include <ngx_config.h>
#include <ngx_types.h>
+#include <ngx_files.h>
#include <ngx_socket.h>
#include <ngx_log.h>
#include <ngx_sendv.h>
int ngx_sendfile(ngx_socket_t s,
ngx_iovec_t *headers, int hdr_cnt,
- ngx_file_t fd, off_t offset, size_t nbytes,
+ ngx_fd_t fd, off_t offset, size_t nbytes,
ngx_iovec_t *trailers, int trl_cnt,
off_t *sent,
ngx_log_t *log);