diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 067b5196..ecdc66df 100644 --- a/include/time.h +++ b/include/time.h @@ -114,6 +114,9 @@ struct tm *getdate (const char *); int stime(time_t *); #endif +#if defined(_GNU_SOURCE) +time_t timegm(struct tm *); +#endif #ifdef __cplusplus } |