X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffsusage.c;h=96860ebc51b0162df0a0f613a7453ee0e2f55091;hb=6b9607c0590a93ecbd2827492adf3fd3834e8f03;hp=28c54ac179cca15a92ee585c933d004d86cd535f;hpb=92a0e357d2915935df140c766bf98db53a53a455;p=gnulib.git diff --git a/lib/fsusage.c b/lib/fsusage.c index 28c54ac17..96860ebc5 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -18,8 +18,8 @@ #ifdef HAVE_CONFIG_H #if defined (CONFIG_BROKETS) /* We use instead of "config.h" so that a compilation - using -I. -I will use ./config.h rather than /config.h - (which it would do because it found this file in ). */ + using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because it found this file in $srcdir). */ #include #else #include "config.h" @@ -31,7 +31,7 @@ int statfs (); -#if defined (STATFS_OSF1) /* DEC Alpha running OSF/1 */ +#if defined (STAT_STATFS3_OSF1) /* DEC Alpha running OSF/1 */ # include #endif @@ -95,13 +95,13 @@ get_fs_usage (path, disk, fsp) char *path, *disk; struct fs_usage *fsp; { -#if defined (STATFS_OSF1) +#if defined (STAT_STATFS3_OSF1) struct statfs fsd; if (statfs (path, &fsd, sizeof (struct statfs)) != 0) return (-1); #define convert_blocks(b) adjust_blocks ((b),fsd.f_fsize, 512) -#endif /* STATFS_OSF1 */ +#endif /* STAT_STATFS3_OSF1 */ #ifdef STAT_STATFS2_FS_DATA /* Ultrix. */ struct fs_data fsd;