summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-09 13:02:21 +0000
committerJim Meyering <jim@meyering.net>1996-12-09 13:02:21 +0000
commit4fb3a6f7659fb4da1b090da4fc07562a7ca8e316 (patch)
treeabb6e461e40f14fd94781736e61e65c663b78ae0 /lib
parent5460d4a9c8051475f8ed093259f9e62f5c0a8fa1 (diff)
downloadcoreutils-4fb3a6f7659fb4da1b090da4fc07562a7ca8e316.tar.xz
[HAVE_TZNAME]: Declare tzname.
Patch from Karl Heuer.
Diffstat (limited to 'lib')
-rw-r--r--lib/strftime.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index 716f6530a..5d11f53c3 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -47,6 +47,10 @@
# 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
safe if they cannot contain byte sequences that look like format