comparison src/os/unix/ngx_posix_config.h @ 4557:b13419459a50

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 27 Mar 2012 16:37:43 +0000
parents d620f497c50f
children 489839d07b38
comparison
equal deleted inserted replaced
4556:1bddc91e78d6 4557:b13419459a50
43 #include <signal.h> 43 #include <signal.h>
44 #include <pwd.h> 44 #include <pwd.h>
45 #include <grp.h> 45 #include <grp.h>
46 #include <dirent.h> 46 #include <dirent.h>
47 #include <glob.h> 47 #include <glob.h>
48 #include <time.h>
48 #if (NGX_HAVE_SYS_PARAM_H) 49 #if (NGX_HAVE_SYS_PARAM_H)
49 #include <sys/param.h> /* statfs() */ 50 #include <sys/param.h> /* statfs() */
50 #endif 51 #endif
51 #if (NGX_HAVE_SYS_MOUNT_H) 52 #if (NGX_HAVE_SYS_MOUNT_H)
52 #include <sys/mount.h> /* statfs() */ 53 #include <sys/mount.h> /* statfs() */