Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 12:48:38 +0200
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-net@FreeBSD.org
Cc:        Shteryana Shopova <syrinx@FreeBSD.org>
Subject:   bsnmp/snmpmod.h: #include <sys/queue.h> is missed
Message-ID:  <86wrn7gxvd.fsf@kopusha.home.net>

next in thread | raw e-mail | index | archive | help
--=-=-=

Hi,

bsnmp/snmpmod.h uses SLIST but does not includes <sys/queue.h>. This breaks
net-mgmt/bsnmp-ucd port (ports/153153). 

Could somebody look at the attached patch?

-- 
Mikolaj Golub


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=snmpmod.h.patch

Index: contrib/bsnmp/snmpd/snmpmod.h
===================================================================
--- contrib/bsnmp/snmpd/snmpmod.h	(revision 216439)
+++ contrib/bsnmp/snmpd/snmpmod.h	(working copy)
@@ -33,6 +33,7 @@
 #ifndef snmpmod_h_
 #define snmpmod_h_
 
+#include <sys/queue.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <net/if.h>

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wrn7gxvd.fsf>