summaryrefslogtreecommitdiff
path: root/net/nginx/patches/103-sys_nerr.patch
blob: 5f5d106fed1f9eb1a42bdd3933309ac5d16a57bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -8,6 +8,9 @@
 #include <ngx_config.h>
 #include <ngx_core.h>
 
+#ifndef NGX_SYS_NERR
+#define NGX_SYS_NERR  128
+#endif
 
 /*
  * The strerror() messages are copied because: