aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/time.h')
-rw-r--r--system/include/libc/time.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/include/libc/time.h b/system/include/libc/time.h
index bc07d30f..019dd872 100644
--- a/system/include/libc/time.h
+++ b/system/include/libc/time.h
@@ -41,6 +41,9 @@ struct tm
int tm_wday;
int tm_yday;
int tm_isdst;
+ /* XXX Emscripten */
+ int tm_gmtoff;
+ char *tm_zone;
};
clock_t _EXFUN(clock, (void));
@@ -253,6 +256,12 @@ int _EXFUN(clock_getenable_attr, (clockid_t clock_id, int *attr));
#endif /* _POSIX_CPUTIME or _POSIX_THREAD_CPUTIME */
+/* XXX Emscripten */
+
+int _EXFUN(stime, (time_t *t));
+time_t _EXFUN(timegm, (struct tm *t));
+int _EXFUN(dysize, (int year));
+
#ifdef __cplusplus
}
#endif