Parcourir la source

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 il y a 17 ans
Parent
commit
c0a0655a5a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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