summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-09-13 19:54:56 +0000
committerChris Zankel <chris@zankel.net>2008-09-13 19:54:56 +0000
commitc0a0655a5a3bb81f1b086c9f24f145615c3c52f0 (patch)
tree5f75c0ccbddfd6e5f718fb79b2eafe0083f9d30a /libc/string
parent4d08c7582231e73b744092123029fa58b8fb3387 (diff)
xtensa: The Xtensa-specific strcmp.S file is testing the __UCLIBC_HAS_LOCALE__ macro but it does not include <features.h>, so that macro is never defined. This causes problems with strcoll when locale support is enabled.
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/xtensa/strcmp.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/xtensa/strcmp.S b/libc/string/xtensa/strcmp.S
index 90c418d12..622bb27ed 100644
--- a/libc/string/xtensa/strcmp.S
+++ b/libc/string/xtensa/strcmp.S
@@ -19,6 +19,7 @@
#include "../../sysdeps/linux/xtensa/sysdep.h"
#include <bits/xtensa-config.h>
+#include <features.h>
#ifdef __XTENSA_EB__
#define MASK0 0xff000000