about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/time.h3
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
 }