diff options
Diffstat (limited to 'missing')
-rw-r--r-- | missing/strftime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/missing/strftime.c b/missing/strftime.c index cc3f1a8070..6bce490249 100644 --- a/missing/strftime.c +++ b/missing/strftime.c @@ -425,6 +425,7 @@ strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr) */ off = -(daylight ? timezone : altzone) / 60; #else /* !HAVE_TZNAME */ + gettimeofday(&tv, &zone); off = -zone.tz_minuteswest; #endif /* !HAVE_TZNAME */ #endif /* !HAVE_TM_ZONE */ |