summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-11-07 20:50:21 +0000
committerEric Andersen <andersen@codepoet.org>2006-11-07 20:50:21 +0000
commit4776eaf3e312ab56e7fd2ab22b4e88f6f2dd10a4 (patch)
tree36b4bca6a01acb7595adbaed6f4028b4437c875a /libc/misc
parentf2351172d5b2b12bf988d9920dba75eb4c6f42d6 (diff)
I failed to check the patch adding support for the new (stupid) US 2007
daylight savings time rules when xlocale was enabled. Fix compile error.
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/time/time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index 37e1700cd..b73fe2cce 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -196,7 +196,9 @@ libc_hidden_proto(__ctype_b)
#endif
#if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
- defined(L__time_mktime) || defined(L__time_mktime_tzi)
+ defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
+ ((defined(L_strftime) || defined(L_strftime_l)) && \
+ defined(__UCLIBC_HAS_XLOCALE__))
void _time_tzset(int use_old_rules);
libc_hidden_proto(_time_tzset)