diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-15 23:23:28 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-15 23:23:28 +0000 |
commit | 5ce0b45a43fc2de8862a439b6e6281fdd55e27ed (patch) | |
tree | 977cb2d08b9d7f4956838aecc8ea25d40c3104d7 | |
parent | 7b0f6f1559b98597407bf85fd2a283e8ea678bdd (diff) | |
download | coreutils-5ce0b45a43fc2de8862a439b6e6281fdd55e27ed.tar.xz |
(USE_STATVFS): Define to 0 if f_type is needed, but
statvfs.f_type not present.
-rw-r--r-- | src/stat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c index 4c6047c25..481096d27 100644 --- a/src/stat.c +++ b/src/stat.c @@ -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 |