summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_errno.h')
-rw-r--r--src/os/win32/ngx_errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h
index decb6fef0..113c7c439 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -52,6 +52,7 @@ typedef DWORD ngx_err_t;
#define NGX_ENOMOREFILES ERROR_NO_MORE_FILES
#define NGX_EILSEQ ERROR_NO_UNICODE_TRANSLATION
#define NGX_ELOOP 0
+#define NGX_EBADF WSAEBADF
#define NGX_EALREADY WSAEALREADY
#define NGX_EINVAL WSAEINVAL