Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: mkimage: fix __u64 typedef conflict with new glibc #32

Open
wants to merge 1 commit into
base: openwrt-18.06
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tools/mkimage/patches/060-remove_kernel_includes.patch
Original file line number Diff line number Diff line change
@@ -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;
Expand Down