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 0000000000000000000000000000000000000000..937ab9054de32356ab6126b8147efdd6d3d26dce
--- /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;
+