aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/include/compat/time.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/include/compat/time.h b/system/include/compat/time.h
new file mode 100644
index 00000000..9adec84e
--- /dev/null
+++ b/system/include/compat/time.h
@@ -0,0 +1,18 @@
+#ifndef _COMPAT_TIME_H
+#define _COMPAT_TIME_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int dysize(int year);
+#define _timezone timezone
+#define _daylight daylight
+
+#ifdef __cplusplus
+}
+#endif
+
+#include_next <time.h>
+
+#endif