diff options
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r-- | src/os/unix/ngx_time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h index f81ee4efc..42bb7167c 100644 --- a/src/os/unix/ngx_time.h +++ b/src/os/unix/ngx_time.h @@ -4,6 +4,8 @@ #include <ngx_config.h> +typedef u_int ngx_msec_t; + typedef struct tm ngx_tm_t; #define ngx_tm_sec tm_sec @@ -18,7 +20,7 @@ typedef struct tm ngx_tm_t; void ngx_localtime(ngx_tm_t *tm); -u_int ngx_msec(void); +ngx_msec_t ngx_msec(void); #endif /* _NGX_TIME_H_INCLUDED_ */ |