diff options
Diffstat (limited to 'package/boot/uboot-ar71xx/patches/023-musl-compat.patch')
-rw-r--r-- | package/boot/uboot-ar71xx/patches/023-musl-compat.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/boot/uboot-ar71xx/patches/023-musl-compat.patch b/package/boot/uboot-ar71xx/patches/023-musl-compat.patch new file mode 100644 index 0000000000..1dacc993e7 --- /dev/null +++ b/package/boot/uboot-ar71xx/patches/023-musl-compat.patch @@ -0,0 +1,13 @@ +--- a/include/compiler.h 2018-08-29 ++++ b/include/compiler.h 2018-08-29 +@@ -46,6 +46,10 @@ extern int errno; + #ifdef __linux__ + # include <endian.h> + # include <byteswap.h> ++#ifndef __GLIBC__ ++typedef unsigned long ulong; ++typedef unsigned int uint; ++#endif + #elif defined(__MACH__) || defined(__FreeBSD__) + # include <machine/endian.h> + typedef unsigned long ulong; |