blob: bbb0da6192ee5adcec9928975cc0f73f05397852 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- agent/mibgroup/ucd-snmp/diskio.c.orig Mon May 20 03:38:58 2002
+++ agent/mibgroup/ucd-snmp/diskio.c Thu Feb 20 07:53:08 2003
@@ -49,7 +49,12 @@
#endif /* bsdi */
#if defined (freebsd4) || defined(freebsd5)
+#include <sys/param.h>
+#if __FreeBSD_version >= 500101
+#include <sys/resource.h>
+#else
#include <sys/dkstat.h>
+#endif
#include <devstat.h>
#endif /* freebsd */
|