X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Fstrftime.h;h=485dbdd933148948d389aa7cd8892c99b19290e8;hp=44da0ea71f9f7b465758ee640ad360923f29d0a7;hb=85cd3f3afae48026843bea34d2d0d1056ee9dda5;hpb=c768fa74de0a05c284a73c9dc147c55da65ac416 diff --git a/src/strftime.h b/src/strftime.h index 44da0ea..485dbdd 100644 --- a/src/strftime.h +++ b/src/strftime.h @@ -11,8 +11,14 @@ #include /* for size_t */ #include /* 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 */