diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-10-26 16:38:53 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-26 16:38:53 +0000 |
commit | 4724f2b17c79a60104402139b4b64b11c7cccb01 (patch) | |
tree | f2b43551afe26659a39ce506749ce565ad9fb5d7 /src/os/unix/ngx_linux_config.h | |
parent | e430ab4d5540259bb864745b0aa04ffe2ec8a0e9 (diff) | |
download | nginx-4724f2b17c79a60104402139b4b64b11c7cccb01.tar.gz nginx-4724f2b17c79a60104402139b4b64b11c7cccb01.zip |
use uname(2) instead of /proc/, this allows to run nginx in chroot
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r-- | src/os/unix/ngx_linux_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index 3e0475ffc..c584ff885 100644 --- 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> |