kernel: fix portability issues of the x86 vdso2c utility
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Mar 2015 04:43:22 +0000 (04:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Mar 2015 04:43:22 +0000 (04:43 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44757

target/linux/generic/patches-3.18/213-x86_vdso_portability.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch b/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch
new file mode 100644 (file)
index 0000000..937ab90
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/arch/x86/vdso/vdso2c.c
++++ b/arch/x86/vdso/vdso2c.c
+@@ -63,8 +63,8 @@
+ #include <tools/le_byteshift.h>
+-#include <linux/elf.h>
+-#include <linux/types.h>
++#include <elf.h>
++#include <stdbool.h>
+ const char *outfilename;