aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools-grsec/linux-3.10.patch
blob: d3ce6f2c4ba7e6ea917ef8e1083b26631abbd89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>