Author: nbd
Date: 2014-06-12 22:30:37 +0200 (Thu, 12 Jun 2014)
New Revision: 41173

Modified:
   trunk/toolchain/musl/include/features.h
   trunk/toolchain/musl/include/sys/glibc-types.h
Log:
musl: fix toolchain build failure caused by some header changes

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/toolchain/musl/include/features.h
===================================================================
--- trunk/toolchain/musl/include/features.h     2014-06-12 17:57:19 UTC (rev 
41172)
+++ trunk/toolchain/musl/include/features.h     2014-06-12 20:30:37 UTC (rev 
41173)
@@ -48,7 +48,7 @@
 #define __GNU_LIBRARY__ 6
 
 #define __GLIBC__ 2
-#define __GLIBC_MINOR__ 16
+#define __GLIBC_MINOR__ 2
 #endif
 
 #include <sys/glibc-types.h>

Modified: trunk/toolchain/musl/include/sys/glibc-types.h
===================================================================
--- trunk/toolchain/musl/include/sys/glibc-types.h      2014-06-12 17:57:19 UTC 
(rev 41172)
+++ trunk/toolchain/musl/include/sys/glibc-types.h      2014-06-12 20:30:37 UTC 
(rev 41173)
@@ -1,6 +1,8 @@
 #ifndef __MUSL_GLIBC_TYPES_H
 #define __MUSL_GLIBC_TYPES_H
 
+#include <sys/cdefs.h>
+
 /* Convenience types.  */
 typedef unsigned char __u_char;
 typedef unsigned short int __u_short;
@@ -25,5 +27,6 @@
 #define __off64_t off_t
 #define __loff_t off_t
 typedef char *__caddr_t;
+#define __locale_t locale_t
 
 #endif
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to