summaryrefslogtreecommitdiff
path: root/net/ucd-snmp/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-05-24 12:31:11 +0000
committerhubertf <hubertf>1998-05-24 12:31:11 +0000
commita69b71937333801705cc5c7fe04a59288522aef9 (patch)
tree8b37041af1e3edf4d5e0e92eb78ce2a07d72e040 /net/ucd-snmp/patches
parent84552053ceae13bfff58e82004795e07539bd439 (diff)
downloadpkgsrc-a69b71937333801705cc5c7fe04a59288522aef9.tar.gz
Add pkg for UCD SNMP implementation, based on FreeBSD port.
Diffstat (limited to 'net/ucd-snmp/patches')
-rw-r--r--net/ucd-snmp/patches/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/ucd-snmp/patches/patch-aa b/net/ucd-snmp/patches/patch-aa
new file mode 100644
index 00000000000..a8438e39122
--- /dev/null
+++ b/net/ucd-snmp/patches/patch-aa
@@ -0,0 +1,25 @@
+--- agent/mibgroup/ip.c.orig Sat May 23 18:46:55 1998
++++ agent/mibgroup/ip.c Sat May 23 18:52:17 1998
+@@ -6,6 +6,12 @@
+ #include "mib_module_config.h"
+
+ #include <config.h>
++
++#if HAVE_SYS_SYSCTL_H
++#include <sys/param.h>
++#include <sys/sysctl.h>
++#endif
++
+ #if defined(IFNET_NEEDS_KERNEL) && !defined(_KERNEL)
+ #define _KERNEL 1
+ #define _I_DEFINED_KERNEL
+@@ -24,9 +30,6 @@
+ #endif
+ #if HAVE_NETINET_IN_H
+ #include <netinet/in.h>
+-#endif
+-#if HAVE_SYS_SYSCTL_H
+-#include <sys/sysctl.h>
+ #endif
+ #if HAVE_SYS_SYSMP_H
+ #include <sys/sysmp.h>