Cli.c and tls_test.c also need to include getaddrinfo.h
simon at josefsson.org
Fri Apr 17 09:53:35 CEST 2009
"LAUPRETRE François (P)" <francois.laupretre at ratp.fr> writes:
> Compiling gnutls on AIX, which does not define getaddrinfo() nor the addrinfo struct. Compilation fails on cli.c and tls_test.c because the addrinfo-related functions and struct are not undefined.
> Prefixing both files with '#include "getaddrinfo.h"', it works.
> I see in the ChangeLog that it was the same for serv.c. So the include directive should also be added to cli.c and tls_test.c.
Thank you, I fixed this on the gnutls_2_6_x branch. It was already
fixed in another way in master, which means reality is catching up with
our 2.7.x branch and we should really get it out soon...
More information about the Gnutls-devel