diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-28 18:30:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-28 18:30:18 +0000 |
commit | 741c8aed7a5720ce65c8030e5a7611792f70b9c1 (patch) | |
tree | e4721a070f99412ec1b40b895d27a899574a0d8c /net/net-snmp4/files/patch-memory_freebsd2.c | |
parent | mark it broken (diff) |
Fix build on recent -CURRENT.
Reported by: Roar Pettersen <edprp@it.uib.no>
Notes
Notes:
svn path=/head/; revision=77637
Diffstat (limited to 'net/net-snmp4/files/patch-memory_freebsd2.c')
-rw-r--r-- | net/net-snmp4/files/patch-memory_freebsd2.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/net/net-snmp4/files/patch-memory_freebsd2.c b/net/net-snmp4/files/patch-memory_freebsd2.c index e06a3266f224..e49eb0d77c01 100644 --- a/net/net-snmp4/files/patch-memory_freebsd2.c +++ b/net/net-snmp4/files/patch-memory_freebsd2.c @@ -1,6 +1,16 @@ ---- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 -+++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 -@@ -232,7 +232,7 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sun Sep 16 17:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Fri Mar 28 13:18:19 2003 +@@ -9,7 +9,9 @@ + #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 +@@ -232,7 +234,7 @@ size_t total_size = sizeof (total); int total_mib[] = { CTL_VM, VM_METER }; |