diff options
Diffstat (limited to 'net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c')
-rw-r--r-- | net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c new file mode 100644 index 00000000000..6c0b0c9f311 --- /dev/null +++ b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c @@ -0,0 +1,15 @@ +$NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.1 2013/01/11 13:34:46 joerg Exp $ + +--- agent/mibgroup/host/data_access/swrun_kinfo.c.orig 2013-01-11 11:01:25.000000000 +0000 ++++ agent/mibgroup/host/data_access/swrun_kinfo.c +@@ -5,6 +5,10 @@ + * + * NB: later FreeBSD uses a different kinfo_proc structure + */ ++#ifdef __NetBSD__ ++#define _KMEMUSER ++#endif ++ + #include <net-snmp/net-snmp-config.h> + + #include <stdio.h> |