]> git.sesse.net Git - vlc/commitdiff
Don't use solaris incompatible fstatfs(fd, struct, int, int)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 14 Apr 2010 14:53:17 +0000 (16:53 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 14 Apr 2010 16:00:50 +0000 (19:00 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/access/file.c

index e20a1a6554e2d272872c54f40c05c5ad8049c51e..b96f60bb92496aa86c4eacfd1b7b7dd20ece3e24 100644 (file)
@@ -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