diff options
author | hubertf <hubertf> | 1998-05-24 12:31:11 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1998-05-24 12:31:11 +0000 |
commit | e7694a1a8c0758621ca53b80600957a9811ca8e7 (patch) | |
tree | 8b37041af1e3edf4d5e0e92eb78ce2a07d72e040 /net/ucd-snmp/patches | |
parent | 3afe4100ced9b0291068d750e0b9075669c7b624 (diff) | |
download | pkgsrc-e7694a1a8c0758621ca53b80600957a9811ca8e7.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-aa | 25 |
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> |