Mercurial > hg > nginx
changeset 2659:a3bcaabf2ec8
fix OpenBSD building, broken in r2616
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 02 Apr 2009 13:44:32 +0000 |
parents | dde94586e6c4 |
children | 2ca36a62c8a1 |
files | src/os/unix/ngx_posix_config.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_config.h Thu Apr 02 13:44:02 2009 +0000 +++ b/src/os/unix/ngx_posix_config.h Thu Apr 02 13:44:32 2009 +0000 @@ -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