packages/utils/open-vm-tools/patches/0006-Use-configure-test-for-sys-stat.h-include.patch
Yuhei OKAWA 48eadd2ffd open-vm-tools: Add new package open-vm-tools
Add new package,
open-vm-tools is Open Virtual Machine Tools for VMware guest OS

tested: OpenWrt master and 18.06.2 (x86_64) on ESXi 6.5, 6.7

Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
2019-02-25 13:47:01 +08:00

12 lines
324 B
Diff

diff -urN a/services/plugins/vix/vixTools.c b/services/plugins/vix/vixTools.c
--- a/services/plugins/vix/vixTools.c
+++ b/services/plugins/vix/vixTools.c
@@ -66,7 +66,7 @@
#include <unistd.h>
#endif
-#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__)
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif