diff --git a/src/strftime.h b/src/strftime.h
index 44da0ea71f9f7b465758ee640ad360923f29d0a7..485dbdd933148948d389aa7cd8892c99b19290e8 100644 (file)
--- a/src/strftime.h
+++ b/src/strftime.h
#include <stddef.h> /* for size_t */
#include <time.h> /* for struct tm */
-size_t strftime_(char *s, size_t maxs, const char *f, const struct tm *t);
+size_t strftime_(
+ char *s,
+ size_t maxs,
+ const char *f,
+ const struct tm *t);
-extern char * tzname_[2];
+#if defined(TZNAME_STD) && defined(TZNAME_DST)
+extern char *tzname_[2];
+#endif
-#endif /* STRFTIME__H */
+#endif /* STRFTIME__H */