projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add timegm function (inverse of gmtime), nonstandard
[musl]
/
include
/
time.h
diff --git
a/include/time.h
b/include/time.h
index
067b519
..
ecdc66d
100644
(file)
--- 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
}