bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib/lib/getaddrinfo.h needs a #include <sys/types.h>


From: Derek Price
Subject: Re: gnulib/lib/getaddrinfo.h needs a #include <sys/types.h>
Date: Tue, 04 Oct 2005 11:45:39 -0400
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

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  <address@hidden>
>
>       * 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:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]