Date: Sat, 18 Dec 2010 13:58:18 +0200 From: Mikolaj Golub <to.my.trociny@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-net@freebsd.org, Shteryana Shopova <syrinx@freebsd.org> Subject: Re: bsnmp/snmpmod.h: #include <sys/queue.h> is missed Message-ID: <86sjxvgun9.fsf@kopusha.home.net> In-Reply-To: <20101218110358.GY33073@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Sat, 18 Dec 2010 13:03:58 %2B0200") References: <86wrn7gxvd.fsf@kopusha.home.net> <20101218110358.GY33073@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= On Sat, 18 Dec 2010 13:03:58 +0200 Kostik Belousov wrote: KB> On Sat, Dec 18, 2010 at 12:48:38PM +0200, Mikolaj Golub wrote: >> 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? KB> <sys/types.h>, as well as <sys/param.h> should be included before KB> other headers. Thanks. Overlooked this :-). -- 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) @@ -34,6 +34,7 @@ #define snmpmod_h_ #include <sys/types.h> +#include <sys/queue.h> #include <sys/socket.h> #include <net/if.h> #include <netinet/in.h> --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sjxvgun9.fsf>