openwrtv4/target/linux/generic/pending-3.18/213-x86_vdso_portability.patch

14 lines
233 B
Diff
Raw Normal View History

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