diff --git a/tools/mkimage/patches/060-remove_kernel_includes.patch b/tools/mkimage/patches/060-remove_kernel_includes.patch index e61d8cc496..0d69b99214 100644 --- a/tools/mkimage/patches/060-remove_kernel_includes.patch +++ b/tools/mkimage/patches/060-remove_kernel_includes.patch @@ -1,10 +1,9 @@ --- a/include/compiler.h +++ b/include/compiler.h -@@ -66,6 +66,11 @@ typedef uint8_t __u8; +@@ -66,6 +66,10 @@ typedef uint8_t __u8; typedef uint16_t __u16; typedef uint32_t __u32; typedef unsigned int uint; -+typedef uint64_t __u64; +#ifndef linux +typedef int __kernel_daddr_t; +typedef unsigned int __kernel_ino_t;