blob: eedbe43747d147ce1a87671a4d7a9b427778261d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ac,v 1.3 2004/05/14 13:30:34 adam Exp $
--- include/net-snmp/system/netbsd.h.orig 2002-04-20 07:30:12.000000000 +0000
+++ include/net-snmp/system/netbsd.h
@@ -1,5 +1,7 @@
#include "bsd.h"
+#include <sys/param.h>
+
#define PCB_TABLE 1
#undef TCP_SYMBOL
#define TCP_SYMBOL "tcbtable"
@@ -22,6 +24,12 @@
#define INP_PREV_SYMBOL inp_queue.cqe_prev
#define HAVE_INPCBTABLE 1
+#if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */
+#undef IFADDR_SYMBOL
+#define IFADDR_SYMBOL "in_ifaddrhead"
+#undef TOTAL_MEMORY_SYMBOL
+#endif
+
#define UTMP_FILE _PATH_UTMP
#ifndef netbsd1
|