You need to -
* Make a backup of /usr/lib/vmware/modules/source/vmmon.tar
* Untar /usr/lib/vmware/modules/source/vmmon.tar into a temporary directory
* Modify vmmon-only/include/compat_kernel.h, and change:

#define __NR_compat_exit __NR_exit
static inline _syscall1(int, compat_exit, int, exit_code);

to:

#define __NR_compat_exit __NR_exit
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
#endif

* Finally, tar the modified module source back up, and replace the vmmon.tar in /usr/lib/vmware/modules/source/