summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-ac
blob: c95e767adfb0e7d6cc511f725023d4270118179d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.13 2016/06/06 14:11:35 he Exp $

Improve portability to newer NetBSD versions.

--- agent/mibgroup/if-mib/data_access/interface.h.orig	2012-10-09 22:28:58.000000000 +0000
+++ agent/mibgroup/if-mib/data_access/interface.h
@@ -38,7 +38,8 @@ config_exclude(mibII/interfaces)
 
 #   elif defined( openbsd3 ) || \
          defined( freebsd4 ) || defined( freebsd5 ) || defined( freebsd6 ) || \
-         defined( darwin )   || defined( dragonfly ) || defined( netbsd1 )
+         defined( darwin )   || defined( dragonfly ) || defined( netbsd1 ) || \
+         defined(netbsd) || defined(netbsdelf) || defined(netbsdelf2) || defined(netbsdelf3)
 
     config_require(if-mib/data_access/interface_sysctl)