From 503e6fb35d068e965d922fc00028c8cfb7d342ed Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:19:07 +0000 Subject: [PATCH] newer NetBSD uses statvfs (perhaps handle this with autoconf?) --- conf/checkmount/checkmount_bsd44.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/checkmount/checkmount_bsd44.c b/conf/checkmount/checkmount_bsd44.c index 8873ea6..1640a1e 100644 --- a/conf/checkmount/checkmount_bsd44.c +++ b/conf/checkmount/checkmount_bsd44.c @@ -45,6 +45,9 @@ # include #endif /* HAVE_CONFIG_H */ #include +#if __NetBSD_Version__ > 200030000 +#define statfs statvfs +#endif extern int is_same_host(char *name1, char *name2, struct in_addr addr2); int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path); -- 2.43.0