aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r--src/os/unix/ngx_time.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index c84486ed5..bb03e994b 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -20,6 +20,7 @@ typedef struct tm ngx_tm_t;
#define ngx_tm_mon tm_mon
#define ngx_tm_year tm_year
#define ngx_tm_wday tm_wday
+#define ngx_tm_gmtoff tm_gmtoff
#ifndef SOLARIS
#define ngx_tm_zone tm_zone
@@ -41,7 +42,4 @@ void ngx_localtime(ngx_tm_t *tm);
#define ngx_msleep(ms) usleep(ms * 1000)
-extern time_t ngx_cached_time;
-
-
#endif /* _NGX_TIME_H_INCLUDED_ */