diff src/os/unix/ngx_linux_config.h @ 1841:6c85b8fc033e stable-0.5

r1606 merge: use uname(2) instead of /proc/, this allows to run nginx in chroot
author Igor Sysoev <igor@sysoev.ru>
date Tue, 08 Jan 2008 16:47:55 +0000
parents 1a1fe29fdb17
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>