From ae8cf261916dc93d42edf08d0ab1e52ef17ab53b Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:17:35 +0000 Subject: [PATCH] handle newer netbsd using statvfs --- conf/mtab/mtab_bsd.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.43.0