Arran Cudbard-Bell wrote: ... > getaddrinfo.c: In function 'gethostbyname_r': > getaddrinfo.c:138: error: 'fr_hostbyname' undeclared (first use in this > function) Agh. It's declared at the top of the function, with the same #ifdef's in both places (where it's used, and where it's defined.) Alan DeKok.