0008-Use-configure-test-for-sys-stat.h-include.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. From 95c6184d9ff70a47c41768850923a96de9e544aa Mon Sep 17 00:00:00 2001
  2. From: Natanael Copa <ncopa@alpinelinux.org>
  3. Date: Wed, 18 Nov 2015 10:41:01 +0000
  4. Subject: [PATCH] Use configure test for sys/stat.h include
  5. This is needed for musl libc.
  6. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
  7. [Retrieved from:
  8. http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0011-Use-configure-test-for-sys-stat.h-include.patch?h=sumo]
  9. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  10. ---
  11. open-vm-tools/services/plugins/vix/vixTools.c | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. Index: 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. -#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__)
  21. +#ifdef HAVE_SYS_STAT_H
  22. #include <sys/stat.h>
  23. #endif