blob: 1827464ecc90b6b47072a2578329bd0459341a73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$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;
|