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