comparison 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
comparison
equal deleted inserted replaced
1604:e27930ae2b8f 1605:379ee44a4456
48 #include <time.h> /* tzset() */ 48 #include <time.h> /* tzset() */
49 #include <malloc.h> /* memalign() */ 49 #include <malloc.h> /* memalign() */
50 #include <sys/ioctl.h> 50 #include <sys/ioctl.h>
51 #include <sys/sysctl.h> 51 #include <sys/sysctl.h>
52 #include <crypt.h> 52 #include <crypt.h>
53 #include <sys/utsname.h> /* uname() */
53 54
54 55
55 #include <ngx_auto_config.h> 56 #include <ngx_auto_config.h>
56 57
57 58