--- open-vm-tools-stable-10.3.0/lib/hgfsUri/hgfsUriPosix.c.~1~	Fri Jul 13 14:54:23 2018
+++ open-vm-tools-stable-10.3.0/lib/hgfsUri/hgfsUriPosix.c	Sun Aug 19 14:04:17 2018
@@ -23,7 +23,7 @@
  *    x-vmware-share:// style URIs
  */
 
-#if !defined __linux__ && !defined __APPLE__ && !defined __FreeBSD__
+#if !defined __linux__ && !defined __APPLE__ && !defined __FreeBSD__ && !defined __sun
 #   error This file should not be compiled
 #endif