Klaus Demo nginx / 7b2b17a
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. Maxim Dounin 10 years ago
3 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2222 #include <grp.h>
2323 #include <dirent.h>
2424 #include <glob.h>
25 #include <time.h>
2526 #include <sys/param.h> /* ALIGN() */
2627 #include <sys/mount.h> /* statfs() */
2728
4444 #include <grp.h>
4545 #include <dirent.h>
4646 #include <glob.h>
47 #include <time.h>
4748 #if (NGX_HAVE_SYS_PARAM_H)
4849 #include <sys/param.h> /* statfs() */
4950 #endif
2828 #include <grp.h>
2929 #include <dirent.h>
3030 #include <glob.h>
31 #include <time.h>
3132 #include <sys/statvfs.h> /* statvfs() */
3233
3334 #include <sys/filio.h> /* FIONBIO */