Bläddra i källkod

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.

Chris Zankel 17 år sedan
förälder
incheckning
c0a0655a5a
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      libc/string/xtensa/strcmp.S

+ 1 - 0
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