aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools-grsec/linux-3.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/open-vm-tools-grsec/linux-3.10.patch')
-rw-r--r--main/open-vm-tools-grsec/linux-3.10.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/open-vm-tools-grsec/linux-3.10.patch b/main/open-vm-tools-grsec/linux-3.10.patch
new file mode 100644
index 0000000000..d3ce6f2c4b
--- /dev/null
+++ b/main/open-vm-tools-grsec/linux-3.10.patch
@@ -0,0 +1,16 @@
+From:
+http://sourceforge.net/p/open-vm-tools/tracker/173/
+
+--- ./modules/linux/vmhgfs/file.c.orig 2013-08-05 12:29:23.915888235 +0000
++++ ./modules/linux/vmhgfs/file.c 2013-08-05 12:35:46.056640104 +0000
+@@ -25,6 +25,10 @@
+ /* Must come before any kernel header file. */
+ #include "driver-config.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
++#include <linux/aio.h>
++#endif
++
+ #include <linux/errno.h>
+ #include <linux/module.h>
+ #include <linux/signal.h>