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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index 42bb7167c..5da536a49 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -22,5 +22,8 @@ void ngx_localtime(ngx_tm_t *tm);
ngx_msec_t ngx_msec(void);
+/* STUB */
+#define ngx_time() time(NULL)
+
#endif /* _NGX_TIME_H_INCLUDED_ */