Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
c0a0655a5a
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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