diff src/os/unix/ngx_linux_config.h @ 1605:379ee44a4456

use uname(2) instead of /proc/, this allows to run nginx in chroot
author Igor Sysoev <igor@sysoev.ru>
date Fri, 26 Oct 2007 16:38:53 +0000
parents 0d57c150115b
children 6b86f793eac5 aeeb3ca9de06
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -50,6 +50,7 @@
 #include <sys/ioctl.h>
 #include <sys/sysctl.h>
 #include <crypt.h>
+#include <sys/utsname.h>        /* uname() */
 
 
 #include <ngx_auto_config.h>