$NetBSD: patch-aa,v 1.8 2008/09/08 12:58:09 adam Exp $

--- agent/mibgroup/host/hr_filesys.c.orig	2008-07-30 11:58:30.000000000 +0200
+++ agent/mibgroup/host/hr_filesys.c
@@ -111,6 +111,11 @@ struct mnttab  *HRFS_entry = &HRFS_entry
 
 #elif defined(HAVE_STATVFS) && defined(__NetBSD__)
 
+#if !defined(MFSNAMELEN) && defined(_VFS_NAMELEN)
+#define MFSNAMELEN _VFS_NAMELEN
+#endif
+
+#define getfsstat getvfsstat
 static struct statvfs	*fsstats = NULL;
 struct statvfs		*HRFS_entry;
 static int		fscount;
