rasa / vmware-tools-patches

Patch and build VMware tools automatically
https://github.com/rasa/vmware-tools-patches/wiki
MIT License
1.19k stars 198 forks source link

fix build for vmhgfs when the kernel is not compiled with CONFIG_UIDGID_... #3

Closed raymond-w-ko closed 10 years ago

raymond-w-ko commented 10 years ago

...STRICT_TYPE_CHECKS set

When CONFIG_UIDGID_STRICT_TYPE_CHECKS is set, uid_t et al is a structure with the only one member, val. This is probably to prevent uid_t from mixing with gid_t accidentally. When this is not set however, they are both just an unsigned int.

Ubuntu probably has this kernel build option set, while Arch Linux does not, leading vmhgfs to not compile.