diff options
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/ngx_errno.h | 1 | ||||
-rw-r--r-- | src/os/unix/ngx_time.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 91ac3ba69..feb9e4a08 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -5,6 +5,7 @@ #include <errno.h> #include <string.h> + typedef int ngx_err_t; #define NGX_ENOENT ENOENT diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h index 5cd791d0e..4b5fa5949 100644 --- a/src/os/unix/ngx_time.h +++ b/src/os/unix/ngx_time.h @@ -24,7 +24,7 @@ void ngx_localtime(ngx_tm_t *tm); ngx_msec_t ngx_msec(void); /* STUB */ -#define ngx_time() time(NULL) +#define ngx_time() time(NULL) #endif /* _NGX_TIME_H_INCLUDED_ */ |