diff src/os/unix/ngx_linux_config.h @ 253:b6793bc5034b

nginx-0.0.2-2004-02-09-10:46:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Feb 2004 07:46:43 +0000
parents 2a0540287298
children 8e39cab6abd5
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -34,8 +34,17 @@
 #include <netdb.h>
 #include <dirent.h>
 
+
+/* Linux has a broken strerror_r() */
+#define HAVE_STRERROR_R  0
+
 #include <ngx_auto_config.h>
 
+
+#if (HAVE_PRCTL)
+#include <sys/prctl.h>
+#endif
+
 #if (HAVE_SENDFILE64)
 #include <sys/sendfile.h>
 #else
@@ -67,7 +76,7 @@ extern ssize_t sendfile(int s, int fd, i
 
 
 #ifndef HAVE_INHERITED_NONBLOCK
-#define HAVE_INHERITED_NONBLOCK  1
+#define HAVE_INHERITED_NONBLOCK  0
 #endif