kernel: fix portability issues of the x86 vdso2c utility

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44757
lede-17.01
Felix Fietkau 2015-03-15 04:43:22 +00:00
parent 09ac7d4697
commit 50d4775df0
1 changed files with 13 additions and 0 deletions

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;