packages/net/nginx/patches/103-sys_nerr.patch
luka 3259bec42c [packages] nginx: update to version 1.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 18:08:36 +00:00

13 lines
237 B
Diff

--- 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: