diff options
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> |