Attached a patch for the rrd-tool LIBDBI integration with the following improvements:
[rrdtool.git] / src / strftime.h
index 44da0ea..485dbdd 100644 (file)
 #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 */