aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2007-01-29 21:37:48 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2007-01-29 21:37:48 +0000
commitece06b6aafcfbab3e4cb05e594f3ac748344941f (patch)
tree348e956dda61e4c86c7e51dff4497130f4605e62
parentd1aea519cdea1724f6903dc87548cb62ede08fe7 (diff)
downloaduClibc-ece06b6aafcfbab3e4cb05e594f3ac748344941f.tar.gz
uClibc-ece06b6aafcfbab3e4cb05e594f3ac748344941f.tar.bz2
Fix compile error when locale is enabled
-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 b2d0f2188..9e4217636 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -158,7 +158,9 @@
#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);