Bruno Haible <[EMAIL PROTECTED]> writes:

> Hi Simon,
>
> I'm seeing these compilation errors on Haiku:
>
> /data/testdir1/gllib/getaddrinfo.c: In function `getaddrinfo':
> /data/testdir1/gllib/getaddrinfo.c:183: `AI_NUMERICSERV' undeclared (first 
> use in this function)
> /data/testdir1/gllib/getaddrinfo.c:183: (Each undeclared identifier is 
> reported only once
> /data/testdir1/gllib/getaddrinfo.c:183: for each function it appears in.)
> /data/testdir1/gllib/getaddrinfo.c: In function `getnameinfo':
> /data/testdir1/gllib/getaddrinfo.c:429: `EAI_OVERFLOW' undeclared (first use 
> in this function)
> make[4]: *** [getaddrinfo.o] Error 1
>
> Haiku has <netdb.h> and it has most of the definitions, but EAI_OVERFLOW
> and AI_NUMERICSERV are not defined.
>
> OK to commit this workaround?

Hi.  Looks fine, OK with me.

/Simon


Reply via email to