blob: 78722390e8023aed435bd7c9eb58e1b6539465e0 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 95c6184d9ff70a47c41768850923a96de9e544aa Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Nov 2015 10:41:01 +0000
4Subject: [PATCH 11/11] Use configure test for sys/stat.h include
5
6This is needed for musl libc.
7
8Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
9---
10 open-vm-tools/services/plugins/vix/vixTools.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13Index: open-vm-tools/services/plugins/vix/vixTools.c
14===================================================================
15--- open-vm-tools.orig/services/plugins/vix/vixTools.c
16+++ open-vm-tools/services/plugins/vix/vixTools.c
17@@ -66,7 +66,7 @@
18 #include <unistd.h>
19 #endif
20
21-#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__)
22+#ifdef HAVE_SYS_STAT_H
23 #include <sys/stat.h>
24 #endif
25