From: Christos Zoulas Date: Wed, 17 Sep 2008 20:17:35 +0000 (+0000) Subject: handle newer netbsd using statvfs X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=ae8cf261916dc93d42edf08d0ab1e52ef17ab53b;p=am-utils-6.0.git handle newer netbsd using statvfs --- diff --git a/conf/mtab/mtab_bsd.c b/conf/mtab/mtab_bsd.c index 26d0432..6e7ce49 100644 --- a/conf/mtab/mtab_bsd.c +++ b/conf/mtab/mtab_bsd.c @@ -53,6 +53,9 @@ #include #include +#if __NetBSD_Version__ > 200030000 +#define statfs statvfs +#endif static mntent_t * mnt_dup(struct statfs *mp)