about summary refs log tree commit diff
path: root/time/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/strftime.c')
-rw-r--r--time/strftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 4b00eb5a2d..5447b3e847 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -45,6 +45,9 @@
 #  include <time.h>
 # endif
 #endif
+#if HAVE_TZNAME
+extern char *tzname[];
+#endif
 
 /* Do multibyte processing if multibytes are supported, unless
    multibyte sequences are safe in formats.  Multibyte sequences are