summaryrefslogtreecommitdiff
path: root/package/nginx/patches/patch-src_os_unix_ngx_errno_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/nginx/patches/patch-src_os_unix_ngx_errno_c')
-rw-r--r--package/nginx/patches/patch-src_os_unix_ngx_errno_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/nginx/patches/patch-src_os_unix_ngx_errno_c b/package/nginx/patches/patch-src_os_unix_ngx_errno_c
new file mode 100644
index 000000000..70020937a
--- /dev/null
+++ b/package/nginx/patches/patch-src_os_unix_ngx_errno_c
@@ -0,0 +1,12 @@
+--- nginx-1.2.2.orig/src/os/unix/ngx_errno.c 2012-07-02 18:51:02.000000000 +0200
++++ nginx-1.2.2/src/os/unix/ngx_errno.c 2012-07-16 09:32:48.000000000 +0200
+@@ -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: