# Add the missing utsreleases info into the version.h file
cat ../generated/utsrelease.h >> version.h
This appears to have been outdated now.
Trying to get these to compile against 3.7 I found that the contents of utsrelease.h didn't contain the bits that are needed.
I believe this file is expected to have LINUX_VERSION_CODE and KERNEL_VERSION() defined, something like:
#define LINUX_VERSION_CODE 198400#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
So I believe that the current correct version is:
cat ../generated/uapi/linux/version.h
Which got my stuff to compile.
About the same time I noticed this great link in some other thread: https://wiki.archlinux.org/index.php/VMware#3.7_kernels