Cli.c and tls_test.c also need to include getaddrinfo.h
LAUPRETRE François (P)
francois.laupretre at ratp.fr
Tue Apr 14 13:03:40 CEST 2009
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.
More information about the Gnutls-devel