I've imported this fix from GNULIB.

Mark D. Baushke wrote:

>This compilation problem of lib/cannon-host.c on FreeBSD 4.10-BETA or
>4.11 results when lib/getaddrinfo.h does not do a #include <sys/types.h>
>before the #include <sys/socket.h> ...
>
>The change was between 1.5 and 1.6 of
>/cvsroot/gnulib/gnulib/lib/getaddrinfo.h,v with the following
>log message:
>
>2005-10-01  Simon Josefsson  <[EMAIL PROTECTED]>
>
>       * getaddrinfo.h: Protect #include's of sys/socket.h and netdb.h.
>       Only define struct addrinfo if !HAVE_STRUCT_ADDRINFO.  Protect
>       AI_* and EAI_* definitions.  Protect function declarations.
>
>Please fix.
>
>       Thanks,
>       -- Mark
>  
>

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:[EMAIL PROTECTED]>




_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to