On 2/8/06, Kaplan, Andrew H. <[EMAIL PROTECTED]> wrote:
>
> The following text in the netdb.h file is what references h_errno:
>
>             /*
>
> * Error return codes from gethostbyname() and gethostbyaddr()
>
> * (left in extern int h_errno).
>
>
>
> #ifdef  _XOPEN_SOURCE EXTENDED
>
> extern int h_errno;
>
> #endif
>

Try adding "-D_XOPEN_SOURCE EXTENDED" to your CFLAGS.

Jeff D
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to