summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-dc
blob: 8c69a85e15634b1a3c65f84ea9fc6e8fc4cbb242 (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
26
27
28
29
30
$NetBSD: patch-dc,v 1.6 2009/03/10 18:30:44 apb Exp $

--- include/net-snmp/net-snmp-config.h.in.orig	2008-07-28 13:41:40.000000000 +0200
+++ include/net-snmp/net-snmp-config.h.in
@@ -159,6 +159,7 @@
 #undef STRUCT_IFNET_HAS_IF_IMCASTS
 #undef STRUCT_IFNET_HAS_IF_IQDROPS
 #undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC
+#undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_NSEC
 #undef STRUCT_IFNET_HAS_IF_NOPROTO
 #undef STRUCT_IFNET_HAS_IF_OMCASTS
 #undef STRUCT_IFNET_HAS_IF_XNAME
@@ -1463,6 +1464,7 @@
 #define NETSNMP_HPUX11ID 14
 #define NETSNMP_AIXID 15
 #define NETSNMP_MACOSXID 16
+#define NETSNMP_DRAGONFLYID 17
 #define NETSNMP_UNKNOWNID 255
 
 #ifdef hpux9
@@ -1492,6 +1494,9 @@
 #if defined(__FreeBSD__)
 #define NETSNMP_OSTYPE NETSNMP_FREEBSDID
 #endif
+#if defined(__DragonFly__)
+#define OSTYPE DRAGONFLYID
+#endif
 #if defined(irix6) || defined(irix5)
 #define NETSNMP_OSTYPE NETSNMP_IRIXID
 #endif