From: Paul Eggert Date: Tue, 15 Aug 2006 23:23:28 +0000 (+0000) Subject: (USE_STATVFS): Define to 0 if f_type is needed, but X-Git-Tag: v6.1~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ce0b45a43fc2de8862a439b6e6281fdd55e27ed;p=thirdparty%2Fcoreutils.git (USE_STATVFS): Define to 0 if f_type is needed, but statvfs.f_type not present. --- diff --git a/src/stat.c b/src/stat.c index 4c6047c253..481096d276 100644 --- a/src/stat.c +++ b/src/stat.c @@ -20,7 +20,8 @@ #include #if (STAT_STATVFS \ - && (HAVE_STRUCT_STATVFS_F_BASETYPE || ! HAVE_STRUCT_STATFS_F_FSTYPENAME)) + && (HAVE_STRUCT_STATVFS_F_BASETYPE \ + || (! HAVE_STRUCT_STATFS_F_FSTYPENAME && HAVE_STRUCT_STATVFS_F_TYPE))) # define USE_STATVFS 1 #else # define USE_STATVFS 0