Make use of the HAVE_NETDB_H define.