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? ;) -- Csaba/Jester ------------------------------------------------------------------------------ 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