summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/regex.c')
-rw-r--r--libc/misc/regex/regex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 8bac9c775..864a92821 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -57,8 +57,10 @@ libc_hidden_proto(wctype)
#endif
#include <ctype.h>
+#ifdef __UCLIBC_HAS_CTYPE_TABLES__
#define __toupper toupper
#define __tolower tolower
+#endif
#define __mempcpy mempcpy
libc_hidden_proto(toupper)
libc_hidden_proto(tolower)