packages/utils/open-vm-tools/patches/0006-Use-configure-test-for-sys-stat.h-include.patch
Rosen Penev fcfd9e4743 open-vm-tools: update to 12.0.0
Update patches with the Alpine Linux ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-09 10:47:45 -07:00

23 lines
635 B
Diff

From 716d1d77bf8199e694c71edcb9e0144d74ba7977 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 18 Nov 2015 10:41:01 +0000
Subject: [PATCH] Use configure test for sys/stat.h include
This is needed for musl libc.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
services/plugins/vix/vixTools.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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