On Fri, Oct 07, 2005 at 11:20:26AM +0100, Dave Shield wrote:
> On Thu, 2005-10-06 at 12:05 -0500, Albert Chin wrote:
> > On Thu, Oct 06, 2005 at 12:55:26PM +0100, Dave Shield wrote:
> > > The inet_addr() and inet_ntoa() checks seem to be responding
> > > to specific IRIX problems.  Simply removing these settings without
> > > further investigation is probably unwise.
> > 
> > It's defined in <arpa/inet.h> on 6.5.23m:
> >   extern char *inet_ntoa(struct in_addr);
> > 
> > It doesn't cause a problem during the build. I don't know if it is
> > needed for an earlier IRIX release.
> 
> Checking the history, the suppression of <arpa/inet.h> dates
> from November 2001  (as does the explicit inclusion of
> <netinet/{tcp,ip}.h>) - though the explanation was only added
> some time later.
>   The explicit declaration of 'inet_ntoa()' is clearly a
> consequence of not including <arpa/inet.h>
> 
> 
> What is the definition of inet_addr() in <arpa/inet.h> ?

extern in_addr_t        inet_addr(const char *);

-- 
albert chin ([EMAIL PROTECTED])


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to