diff options
Diffstat (limited to 'lib/replace/system')
-rw-r--r-- | lib/replace/system/time.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/replace/system/time.h b/lib/replace/system/time.h index 5fce4dbc45..b6d2609289 100644 --- a/lib/replace/system/time.h +++ b/lib/replace/system/time.h @@ -46,6 +46,13 @@ struct utimbuf { }; #endif +#ifndef HAVE_STRUCT_TIMESPEC +struct timespec { + time_t tv_sec; /* Seconds. */ + long tv_nsec; /* Nanoseconds. */ +}; +#endif + #ifndef HAVE_MKTIME /* define is in "replace.h" */ time_t rep_mktime(struct tm *t); |