1From 79675399124b61f4e3da1f64f4b265f83dd26cdc Mon Sep 17 00:00:00 2001 2From: Natanael Copa <ncopa@alpinelinux.org> 3Date: Wed, 18 Nov 2015 10:41:01 +0000 4Subject: [PATCH] Use configure test for sys/stat.h include 5 6This is needed for musl libc. 7 8Upstream-Status: Pending 9 10Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> 11--- 12 open-vm-tools/services/plugins/vix/vixTools.c | 2 +- 13 1 file changed, 1 insertion(+), 1 deletion(-) 14 15diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c 16index 75d24a29e..d11c42178 100644 17--- a/open-vm-tools/services/plugins/vix/vixTools.c 18+++ b/open-vm-tools/services/plugins/vix/vixTools.c 19@@ -66,7 +66,7 @@ 20 #include <unistd.h> 21 #endif 22 23-#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__) 24+#ifdef HAVE_SYS_STAT_H 25 #include <sys/stat.h> 26 #endif 27 28-- 292.25.1 30 31