packages/net/nginx/patches/103-sys_nerr.patch
nico c818416588 [packages] nginx: update to latest stable 1.0.8 (closes: #8510)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 22:55:07 +00:00

14 lines
240 B
Diff

--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -7,6 +7,10 @@
#include <ngx_config.h>
#include <ngx_core.h>
+#ifndef NGX_SYS_NERR
+#define NGX_SYS_NERR 128
+#endif
+
/*
* The strerror() messages are copied because: