summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getdate.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index e6e7c1a15..1b5148b41 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -908,7 +908,7 @@ get_date (const char *p, const time_t *now)
pc.local_zones_seen = 0;
pc.zones_seen = 0;
-#if HAVE_TM_ZONE
+#if HAVE_STRUCT_TM_TM_ZONE
pc.local_time_zone_table[0].name = tmp->tm_zone;
pc.local_time_zone_table[0].type = tLOCAL_ZONE;
pc.local_time_zone_table[0].value = tmp->tm_isdst;