From 99f6f324e248edf72bd3fa5e998a3f111de05b99 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Wed, 19 Feb 2003 23:20:08 +0000 Subject: Unbreak after __FreeBSD_version >= 500101. --- net-mgmt/net-snmp/files/patch-diskio.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net-mgmt/net-snmp/files/patch-diskio.c (limited to 'net-mgmt/net-snmp/files/patch-diskio.c') diff --git a/net-mgmt/net-snmp/files/patch-diskio.c b/net-mgmt/net-snmp/files/patch-diskio.c new file mode 100644 index 000000000000..bbb0da6192ee --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-diskio.c @@ -0,0 +1,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 ++#if __FreeBSD_version >= 500101 ++#include ++#else + #include ++#endif + #include + #endif /* freebsd */ + -- cgit v1.2.3