diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-02 13:44:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-02 13:44:32 +0000 |
commit | 76f42ca21a1bc9dc18df0f751416dea7c75d28f3 (patch) | |
tree | 3a36653d36bc77c99b7a305edd8842b8cc8dd4fd /src/os/unix/ngx_posix_config.h | |
parent | 508b1b5dfb3cf809dc1e343a8b61328a4a970b11 (diff) | |
download | nginx-76f42ca21a1bc9dc18df0f751416dea7c75d28f3.tar.gz nginx-76f42ca21a1bc9dc18df0f751416dea7c75d28f3.zip |
fix OpenBSD building, broken in r2616
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r-- | src/os/unix/ngx_posix_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index 152e23238..3644151ee 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -44,6 +44,9 @@ #include <grp.h> #include <dirent.h> #include <glob.h> +#if (NGX_HAVE_SYS_PARAM_H) +#include <sys/param.h> /* statfs() */ +#endif #if (NGX_HAVE_SYS_MOUNT_H) #include <sys/mount.h> /* statfs() */ #endif |