summaryrefslogtreecommitdiffstats
path: root/net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c')
-rw-r--r--net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c b/net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c
new file mode 100644
index 0000000..15b1b69
--- /dev/null
+++ b/net/net-snmp4/files/patch-agent_mibgroup_ucd-snmp_vmstat_freebsd2.c
@@ -0,0 +1,17 @@
+--- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c.orig Fri Mar 28 13:15:48 2003
++++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Fri Mar 28 13:16:31 2003
+@@ -8,11 +8,14 @@
+ #include <sys/param.h>
+ #include <sys/time.h>
+ #include <sys/proc.h>
++#if __FreeBSD_version < 500101
+ #include <sys/dkstat.h>
++#endif
+ #ifdef freebsd5
+ #include <sys/bio.h>
+ #endif
+ #include <sys/buf.h>
++#include <sys/resource.h>
+ #include <sys/uio.h>
+ #include <sys/namei.h>
+ #include <sys/malloc.h>
OpenPOWER on IntegriCloud