From 76f42ca21a1bc9dc18df0f751416dea7c75d28f3 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 2 Apr 2009 13:44:32 +0000 Subject: [PATCH] fix OpenBSD building, broken in r2616 --- src/os/unix/ngx_posix_config.h | 3 +++ 1 file changed, 3 insertions(+) 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