diff options
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 98404a023..2038e7def 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -70,7 +70,9 @@ int main(int argc, char *const *argv) ngx_log_t *log; ngx_cycle_t *cycle; ngx_open_file_t *file; +#if !(WIN32) ngx_core_conf_t *ccf; +#endif #if (NGX_DEBUG) && (__FreeBSD__) #if __FreeBSD_version >= 500014 @@ -83,6 +85,8 @@ int main(int argc, char *const *argv) /* TODO */ ngx_max_sockets = -1; + ngx_init_time(); + log = ngx_log_init_errlog(); if (ngx_os_init(log) == NGX_ERROR) { |