Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 14:01:52 +0200
From:      Shteryana Shopova <syrinx@FreeBSD.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-net@freebsd.org, Mikolaj Golub <to.my.trociny@gmail.com>
Subject:   Re: bsnmp/snmpmod.h: #include <sys/queue.h> is missed
Message-ID:  <AANLkTimBd74%2B0ycDN9p8A4Lt5myq8po7uXCZua1PGdTS@mail.gmail.com>
In-Reply-To: <20101218110358.GY33073@deviant.kiev.zoral.com.ua>
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, Dec 18, 2010 at 1:03 PM, Kostik Belousov <kostikbel@gmail.com> wrote:
> 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?
>
> <sys/types.h>, as well as <sys/param.h> should be included before
> other headers.
>

And the explicit includes of those files should be removed from the
sources of the bsnmpd(1) modules, I think. I will put this in SVN
along with a couple of other patches I have for bsnmp in my queue.
Sorry for not being able to reply sooner after this problem was
reported. Also, the bsnmptools port should be marked as obsolete as
the tools are now in head.

cheers,
Shteryana



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimBd74%2B0ycDN9p8A4Lt5myq8po7uXCZua1PGdTS>