tools: mkimage: fix __u64 typedef conflict with new glibc
[openwrt/openwrt.git] / tools / mkimage / patches / 060-remove_kernel_includes.patch
index e61d8cc4961bb55f52c047124d2be6f15502cf40..0d69b992143fd16ae426620c5996779dde8b16bf 100644 (file)
@@ -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;