summaryrefslogtreecommitdiff
path: root/test/time/tst-ftime_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/time/tst-ftime_l.c')
-rw-r--r--test/time/tst-ftime_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/time/tst-ftime_l.c b/test/time/tst-ftime_l.c
index 5ecb22fbe..3786f8c09 100644
--- a/test/time/tst-ftime_l.c
+++ b/test/time/tst-ftime_l.c
@@ -3,7 +3,7 @@
#include <string.h>
#include <time.h>
#include <features.h>
-#ifdef __UCLIBC_HAS_WCHAR__
+#if defined __UCLIBC_HAS_WCHAR__ && defined __UCLIBC_HAS_LOCALE__
#include <locale.h>
#include <wchar.h>