On Tue, 2011-01-04 at 00:03 +0100, Thomas Anders wrote: > On Mon, 03 Jan 2011 09:08:31 +0100, Magnus Fromreide > <[email protected]> wrote: > > All but RHEL4 looks like they are due to struct sockaddr (from > > <sys/socket.h>) not being defined. This in turn is allowed by posix as > > it states that "Inclusion of the <netinet/in.h> header may also make > > visible all symbols from <inttypes.h> and <sys/socket.h>." so the quick > > fix is to add > > > > #if HAVE_SYS_SOCKET_H > > #include <sys/socket.h> > > #endif > > > > to snmp_transport.h. > > Any caveats?
Yes. I have not been able to test it, I could possibly do that at wednesday. /MF ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
