aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_config.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-27 16:37:43 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-27 16:37:43 +0000
commit7b2b17a6b3473e2d23e1ed55794fbaa416498738 (patch)
tree0664a8e607a7b05e7a43aa83d29d79a81b0c2ea0 /src/os/unix/ngx_freebsd_config.h
parente34ff16f67cd2a243726bc37441ba48ba3643e22 (diff)
downloadnginx-7b2b17a6b3473e2d23e1ed55794fbaa416498738.tar.gz
nginx-7b2b17a6b3473e2d23e1ed55794fbaa416498738.zip
Added explicit include of time.h.
Most of the systems have it included due to namespace pollution, but relying on this is a bad idea. Explicit include is required for at least Debian GNU/Hurd.
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r--src/os/unix/ngx_freebsd_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index 460581a7b..5b3ff278c 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -23,6 +23,7 @@
#include <grp.h>
#include <dirent.h>
#include <glob.h>
+#include <time.h>
#include <sys/param.h> /* ALIGN() */
#include <sys/mount.h> /* statfs() */