]> CyberLeo.Net >> Repos - CDN/portage-cdn.git/blob - app-emulation/vmware-modules/files/patches/vmmon/035_all_kernel-2.6.25.patch
Initial import
[CDN/portage-cdn.git] / app-emulation / vmware-modules / files / patches / vmmon / 035_all_kernel-2.6.25.patch
1 diff --git a/common/task.c b/common/task.c
2 index 3111098..8373d07 100644
3 --- a/common/task.c
4 +++ b/common/task.c
5 @@ -25,7 +25,12 @@ extern "C" {
6   * we do not need asm/page.h anymore in this file - not surprising, this
7   * is common file, yes?  And Windows do not have page.h, do they?
8   */
9 +#include <linux/version.h>
10 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
11  #define _I386_PAGE_H
12 +#else
13 +#define _ASM_X86_PAGE_H
14 +#endif
15  /* On Linux, must come before any inclusion of asm/page.h --hpreg */
16  #include "hostKernel.h"
17  #ifdef linux