summaryrefslogtreecommitdiff
path: root/libc/string/arm/strcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/arm/strcmp.S')
-rw-r--r--libc/string/arm/strcmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/arm/strcmp.S b/libc/string/arm/strcmp.S
index 2f45c2a58..33acc14cf 100644
--- a/libc/string/arm/strcmp.S
+++ b/libc/string/arm/strcmp.S
@@ -29,7 +29,7 @@
* by Erik Andersen <andersen@codepoet.org>
*/
-#include <locale.h>
+#include <features.h>
.global strcmp
.set strcmp,__strcmp
@@ -50,7 +50,7 @@ __strcmp:
mov pc, lr
.size __strcmp,.-__strcmp
-#ifdef __LOCALE_C_ONLY
+#ifndef __UCLIBC_HAS_LOCALE__
.global __strcoll ; .hidden __strcoll ; __strcoll = __strcmp
.global strcoll ; .set strcoll,__strcmp
#endif