mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
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.
This commit is contained in:
parent
e34ff16f67
commit
7b2b17a6b3
@ -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() */
|
||||
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <grp.h>
|
||||
#include <dirent.h>
|
||||
#include <glob.h>
|
||||
#include <time.h>
|
||||
#if (NGX_HAVE_SYS_PARAM_H)
|
||||
#include <sys/param.h> /* statfs() */
|
||||
#endif
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <grp.h>
|
||||
#include <dirent.h>
|
||||
#include <glob.h>
|
||||
#include <time.h>
|
||||
#include <sys/statvfs.h> /* statvfs() */
|
||||
|
||||
#include <sys/filio.h> /* FIONBIO */
|
||||
|
Loading…
Reference in New Issue
Block a user