summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time/_time.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/time/_time.h b/src/time/_time.h
index e80bfdb7..85620e0f 100644
--- a/src/time/_time.h
+++ b/src/time/_time.h
@@ -22,4 +22,13 @@
#define DAYS_IN(y, m) (m == 1 ? (ISLEAPYEAR(y) ? 29 : 28) : \
((m == 3 || m == 5 || m == 8 || m == 10) ? 30 : 31))
+#define TZNAMELEN 64
+
+struct __time {
+ char stdtz[TZNAMELEN];
+ char dsttz[TZNAMELEN];
+};
+
+extern struct __time __time;
+
#endif