pkgsrc/net/net-snmp/patches/patch-aa

17 lines
503 B
Text
Raw Normal View History

$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
@@ -96,6 +96,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;