]> git.kaiwu.me - nginx.git/commitdiff
fix OpenBSD building, broken in r2616
authorIgor Sysoev <igor@sysoev.ru>
Thu, 2 Apr 2009 13:44:32 +0000 (13:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 2 Apr 2009 13:44:32 +0000 (13:44 +0000)
src/os/unix/ngx_posix_config.h

index 152e23238c1af088914f4f9e7f8160d7fac274f1..3644151ee3ac33ec771c1ab5ecc2d2f6a54d3ba4 100644 (file)
@@ -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