musl: fix toolchain build failure caused by some header changes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41173
v19.07.3_mercusys_ac12_duma
Felix Fietkau 10 years ago
parent 285af2ff08
commit 4f03c52dd8

@ -48,7 +48,7 @@
#define __GNU_LIBRARY__ 6 #define __GNU_LIBRARY__ 6
#define __GLIBC__ 2 #define __GLIBC__ 2
#define __GLIBC_MINOR__ 16 #define __GLIBC_MINOR__ 2
#endif #endif
#include <sys/glibc-types.h> #include <sys/glibc-types.h>

@ -1,6 +1,8 @@
#ifndef __MUSL_GLIBC_TYPES_H #ifndef __MUSL_GLIBC_TYPES_H
#define __MUSL_GLIBC_TYPES_H #define __MUSL_GLIBC_TYPES_H
#include <sys/cdefs.h>
/* Convenience types. */ /* Convenience types. */
typedef unsigned char __u_char; typedef unsigned char __u_char;
typedef unsigned short int __u_short; typedef unsigned short int __u_short;
@ -25,5 +27,6 @@ __extension__ typedef unsigned long long int __uint64_t;
#define __off64_t off_t #define __off64_t off_t
#define __loff_t off_t #define __loff_t off_t
typedef char *__caddr_t; typedef char *__caddr_t;
#define __locale_t locale_t
#endif #endif

Loading…
Cancel
Save