aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mktime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mktime.c b/lib/mktime.c
index 40bc2a38a21..8ee4e5ecab4 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -470,6 +470,8 @@ mktime (struct tm *tp)
470 time zone names contained in the external variable 'tzname' shall 470 time zone names contained in the external variable 'tzname' shall
471 be set as if the tzset() function had been called. */ 471 be set as if the tzset() function had been called. */
472 __tzset (); 472 __tzset ();
473#elif HAVE_TZSET
474 tzset ();
473#endif 475#endif
474 476
475 return __mktime_internal (tp, __localtime_r, &localtime_offset); 477 return __mktime_internal (tp, __localtime_r, &localtime_offset);