bsnmp/snmpmod.h: #include <sys/queue.h> is missed

Shteryana Shopova syrinx at FreeBSD.org
Sat Dec 18 12:28:16 UTC 2010


On Sat, Dec 18, 2010 at 1:03 PM, Kostik Belousov <kostikbel at 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


More information about the freebsd-net mailing list