]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(USE_STATVFS): Define to 0 if f_type is needed, but
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 23:23:28 +0000 (23:23 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 23:23:28 +0000 (23:23 +0000)
statvfs.f_type not present.

src/stat.c

index 4c6047c2533097efd7e846eddc0e52e81991f6e9..481096d2762fa8117309045ff2e688bce9804287 100644 (file)
@@ -20,7 +20,8 @@
 #include <config.h>
 
 #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