$NetBSD: patch-aa,v 1.9 2011/05/27 10:55:24 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;