$NetBSD: patch-ag,v 1.2 2004/08/13 11:28:50 adam Exp $

--- agent/mibgroup/host/hr_storage.c.orig	2004-06-18 18:39:14.000000000 +0000
+++ agent/mibgroup/host/hr_storage.c
@@ -164,6 +164,13 @@ extern int      fscount;
 #define HRFS_mount	f_mntonname
 #define HRFS_HAS_FRSIZE STRUCT_STATVFS_HAS_F_FRSIZE
 
+#elif defined(HAVE_STATVFS) && defined(__NetBSD__)
+
+extern struct statvfs *HRFS_entry;
+extern int      fscount;
+#define HRFS_statfs	statvfs
+#define HRFS_mount	f_mntonname
+
 #elif defined(HAVE_STATVFS)
 
 extern struct mntent *HRFS_entry;
