blob: 6c0b0c9f311ec4cab1d775897cfe9f6938ce4376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>
|