* process.c (Fmake_network_process): Make compilation work
again on hosts that don't have getaddrinfo_a.
p->port = port;
p->socktype = socktype;
p->ai_protocol = ai_protocol;
+#ifdef HAVE_GETADDRINFO_A
p->dns_requests = NULL;
+#endif
unbind_to (count, Qnil);
#endif
}
+#ifdef HAVE_GETADDRINFO_A
/* If we're doing async address resolution, the list of addresses
here will be nil, so we postpone connecting to the server. */
if (!p->is_server && NILP (ip_addresses))
{
connect_network_socket (proc, ip_addresses);
}
+#endif /* HAVE_GETADDRINFO_A */
+
+ connect_network_socket (proc, ip_addresses);
return proc;
}