summaryrefslogtreecommitdiff
path: root/package/nginx/patches/patch-src_os_unix_ngx_errno_c
blob: fc91422732aefd17abf04d2adf5348ff87289b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- nginx-1.21.3.orig/src/os/unix/ngx_errno.c	2021-09-07 17:21:03.000000000 +0200
+++ nginx-1.21.3/src/os/unix/ngx_errno.c	2021-10-29 14:50:09.101546624 +0200
@@ -8,6 +8,9 @@
 #include <ngx_config.h>
 #include <ngx_core.h>
 
+#ifndef NGX_SYS_NERR
+#define NGX_SYS_NERR  128
+#endif
 
 static ngx_str_t   ngx_unknown_error = ngx_string("Unknown error");