aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-13 13:38:25 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-13 13:41:04 +0000
commit997ff740dc44045390680eaa30b6566d40bca322 (patch)
tree1a102ce7d4c404028acf3644d164fe994bc5dc9b /package/boot
parent9530b9bb78845910de711d425f1e4b1c7d539b13 (diff)
downloadupstream-997ff740dc44045390680eaa30b6566d40bca322.tar.gz
upstream-997ff740dc44045390680eaa30b6566d40bca322.tar.bz2
upstream-997ff740dc44045390680eaa30b6566d40bca322.zip
uboot-mediatek: fix build on Mac OS X
Copy patch added to uboot-sunxi by commit 3cc57ba462 ("uboot-sunxi: add missing type __u64") also to uboot-mediatek. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch b/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch
new file mode 100644
index 0000000000..a6204c7b69
--- /dev/null
+++ b/package/boot/uboot-mediatek/patches/260-add-missing-type-u64.patch
@@ -0,0 +1,10 @@
+--- a/include/linux/types.h
++++ b/include/linux/types.h
+@@ -1,6 +1,7 @@
+ #ifndef _LINUX_TYPES_H
+ #define _LINUX_TYPES_H
+
++typedef unsigned long long __u64;
+ #include <linux/posix_types.h>
+ #include <asm/types.h>
+ #include <stdbool.h>