From: Kim F. Storm Date: Thu, 5 Jan 2006 09:24:11 +0000 (+0000) Subject: (Fmake_network_process): Use AF_INET instead of X-Git-Tag: emacs-pretest-22.0.90~4875 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87b6ca8d4e67921065dae4f0633f44d966f65a59;p=emacs.git (Fmake_network_process): Use AF_INET instead of AF_UNSPEC when AF_INET6 is not defined. --- diff --git a/src/process.c b/src/process.c index 3dfbf969c30..526e3518390 100644 --- a/src/process.c +++ b/src/process.c @@ -2921,7 +2921,7 @@ usage: (make-network-process &rest ARGS) */) tem = Fplist_get (contact, QCfamily); if (NILP (tem)) { -#ifdef HAVE_GETADDRINFO +#if defined(HAVE_GETADDRINFO) && defined(AF_INET6) family = AF_UNSPEC; #else family = AF_INET;