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 +#endif + #include #include #include