From: Francois Cartegnie Date: Wed, 14 Apr 2010 14:53:17 +0000 (+0200) Subject: Don't use solaris incompatible fstatfs(fd, struct, int, int) X-Git-Tag: 1.2.0-pre1~7051 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e4393c59cb59b7ff31b239fd8048d36c5b8fc4e2;p=vlc Don't use solaris incompatible fstatfs(fd, struct, int, int) Signed-off-by: RĂ©mi Denis-Courmont --- diff --git a/modules/access/file.c b/modules/access/file.c index e20a1a6554..b96f60bb92 100644 --- a/modules/access/file.c +++ b/modules/access/file.c @@ -39,6 +39,9 @@ #ifdef HAVE_SYS_STAT_H # include #endif +#if defined(HAVE_FSTATFS) && defined(__SunOS) +# undef HAVE_FSTATFS +#endif #ifdef HAVE_FCNTL_H # include #endif