# HG changeset patch # User Kim F. Storm # Date 1136453051 0 # Node ID b7409cbd6d996579a90561c858be96dc9160d082 # Parent c555144652397901d750bc09480ba51e69a8e8ae (Fmake_network_process): Use AF_INET instead of AF_UNSPEC when AF_INET6 is not defined. diff -r c55514465239 -r b7409cbd6d99 src/process.c --- a/src/process.c Thu Jan 05 09:23:58 2006 +0000 +++ b/src/process.c Thu Jan 05 09:24:11 2006 +0000 @@ -2921,7 +2921,7 @@ 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;