aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-30 07:43:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-30 07:43:06 +0000
commit1be7419d10a4c2226783f280af9e2aa7ff48b738 (patch)
treeab1c63ea9b9edb9c1eddcc93c5c572230694ce4e /src/os/unix/ngx_posix_config.h
parenta1e9bfbc859490e25f4fff07ddc5441c9a91abcc (diff)
downloadnginx-1be7419d10a4c2226783f280af9e2aa7ff48b738.tar.gz
nginx-1be7419d10a4c2226783f280af9e2aa7ff48b738.zip
ngx_fs_bsize()
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index ec7ee944f..152e23238 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -44,6 +44,12 @@
#include <grp.h>
#include <dirent.h>
#include <glob.h>
+#if (NGX_HAVE_SYS_MOUNT_H)
+#include <sys/mount.h> /* statfs() */
+#endif
+#if (NGX_HAVE_SYS_STATVFS_H)
+#include <sys/statvfs.h> /* statvfs() */
+#endif
#if (NGX_HAVE_SYS_FILIO_H)
#include <sys/filio.h> /* FIONBIO */