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 #include #include +#if (NGX_HAVE_SYS_PARAM_H) +#include /* statfs() */ +#endif #if (NGX_HAVE_SYS_MOUNT_H) #include /* statfs() */ #endif