[vlc-devel] [PATCH 5/8] Don't use solaris incompatible fstatfs(fd, struct, int, int)

Francois Cartegnie fcvlcdev at free.fr
Wed Apr 14 16:53:17 CEST 2010


---
 modules/access/file.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index e20a1a6..b96f60b 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -39,6 +39,9 @@
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
+#if defined(HAVE_FSTATFS) && defined(__SunOS)
+#   undef HAVE_FSTATFS
+#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif
-- 
1.6.3




More information about the vlc-devel mailing list