Francesco,

Csaba Halász wrote:
> On Mon, Feb 2, 2009 at 10:53 AM, francesco
> <france...@brisa.homelinux.net> wrote:
>> I think I found a simple solution to a simple problem:
>>
>> there are two rows in the iaxclient/lib/libiax2/src/iax.c file
>>
>> which contain:     hp->h_addr
>>
>> tyhis has to be changed in  hp->h_addr_list[0]
>>
>> this will allow compilation for newer netdb.h version too.
> 
> But it will break older versions. Also, an #ifndef check won't work if
> it isn't a macro. I don't know if any platforms (mac, windows,
> something else) would be affected.
> A better way would be something like
> #ifdef __GNUC__
> #define __USE_GNU 1
> #endif
> 
> before including the netdb.h. Or even with _GNU_SOURCE, if that sets
> __USE_GNU somehow.
> 
>> can somebody update the svn ?
> 
> Can you try the above instead? ;)

I will take a look at Csaba's hint. But I cannot say if this will work
on every system. I think fgcom3 (comming in some month) will fix this
problem.

Regards, Holger

-- 
+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++

#####  #### ##  ##   Holger Wirtz         Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein           Fax   : (+49 30) 884299-70
##  ## #### ######   Alexanderplatz 1     E-Mail: wi...@dfn.de
##  ## ##   ## ###   10178 Berlin
#####  ##   ##  ##   GERMANY              WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to