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
This commit is contained in:
Felix Fietkau 2015-03-15 04:43:22 +00:00
parent d5b91aadb5
commit a4b632413a

View File

@ -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;