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
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>
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"