aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-15 04:43:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-15 04:43:22 +0000
commita4b632413a3365ac7347ca54dff7271e77fd8de2 (patch)
tree6d4e6274ffe55a1de3e672ab40ecf3d4d63656a6
parentd5b91aadb59fc4514f5e8d564657ded4031d8551 (diff)
downloadupstream-a4b632413a3365ac7347ca54dff7271e77fd8de2.tar.gz
upstream-a4b632413a3365ac7347ca54dff7271e77fd8de2.tar.bz2
upstream-a4b632413a3365ac7347ca54dff7271e77fd8de2.zip
kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44757 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-3.18/213-x86_vdso_portability.patch13
1 files changed, 13 insertions, 0 deletions
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
index 0000000000..937ab9054d
--- /dev/null
+++ b/target/linux/generic/patches-3.18/213-x86_vdso_portability.patch
@@ -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;
+