summaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools/sys-stat.patch
blob: 14492c7aa8899c6fdcea1fd62fc2a37ce7712e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- open-vm-tools-9.4.6-1770165.orig/services/plugins/vix/vixTools.c
+++ open-vm-tools-9.4.6-1770165/services/plugins/vix/vixTools.c
@@ -54,7 +54,7 @@
 #include <unistd.h>
 #endif
 
-#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__)
+#ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif