summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-ac
blob: e5937158fe9004af55e81a8d206f4e69ff465e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1 2003/12/30 05:29:45 christos Exp $

--- include/net-snmp/system/netbsd.h.orig	2002-04-20 03:30:12.000000000 -0400
+++ include/net-snmp/system/netbsd.h	2003-12-30 00:20:27.000000000 -0500
@@ -22,6 +22,11 @@
 #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"
+#endif
+
 #define UTMP_FILE _PATH_UTMP
 
 #ifndef netbsd1