lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev h_errno undefined (patch)


From: dickey
Subject: Re: lynx-dev h_errno undefined (patch)
Date: Sun, 9 May 1999 15:20:53 -0400 (EDT)

> >Bela< 
>  
> ============================================================================= 
>  
> *** HTTCP.c.orig      Fri Apr 23 07:56:35 1999 
> --- HTTCP.c   Sun May  9 02:08:53 1999 
> *************** 
> *** 575,580 **** 
> --- 575,582 ---- 
>   #undef  h_errno 
>   #define h_errno my_errno 
>   static int my_errno; 
> + #else /* we do HAVE_H_ERRNO: */ 
> + extern int h_errno; 
>   #endif 
>    
>   /*  Resolve an internet hostname, like gethostbyname 

yes, I should have added the extern - the header check would have introduced
too much tinkering since I don't know what headers resolv.h would need.

-- on my list...

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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