summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index a2a89c7..1c63cf6 100644
--- a/include/time.h
+++ b/include/time.h
@@ -116,6 +116,10 @@ struct tm {
#include <sys/cdefs.h>
+#ifndef _ANSI_SOURCE
+extern char *tzname[];
+#endif
+
__BEGIN_DECLS
char *asctime __P((const struct tm *));
clock_t clock __P((void));
OpenPOWER on IntegriCloud