aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os/unix/ngx_posix_config.h3
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