From: Christos Zoulas Date: Wed, 17 Sep 2008 20:19:07 +0000 (+0000) Subject: newer NetBSD uses statvfs (perhaps handle this with autoconf?) X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=503e6fb35d068e965d922fc00028c8cfb7d342ed;p=am-utils-6.0.git newer NetBSD uses statvfs (perhaps handle this with autoconf?) --- 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);