After much scouring the web i eventually found a fix for vmware workstation 7 on Ubuntu 10.4
Follow these to the T. and you should have no problem compiling vmware modules.

1. Switch to your temp directory

2. Extract the vmware net source module

3. Add #include “compat_sched.h” under the first set of includes

4. Compress and save the source back to the original location

5. Extract Virtual Machine Communication Interface

6. Add #include “compat_sched.h” under the first set of includes

7. Add #include “compat_sched.h” under the first set of includes

8. Compress and save the source back to the original location

9. Finally recompile the vmware modules

..