[vlc-commits] commit: Don't use solaris incompatible fstatfs(fd, struct, int, int) ( Francois Cartegnie )

git at videolan.org git at videolan.org
Thu Apr 15 12:17:08 CEST 2010


vlc/vlc-1.1 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 14 16:53:17 2010 +0200| [5ca64a306e5fd170e4c283d9b519b2615a3154d6] | committer: Jean-Baptiste Kempf 

Don't use solaris incompatible fstatfs(fd, struct, int, int)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit e4393c59cb59b7ff31b239fd8048d36c5b8fc4e2)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=5ca64a306e5fd170e4c283d9b519b2615a3154d6
---

 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



More information about the vlc-commits mailing list