diff -up fetchmail-6.3.8/socket.c.addrconf fetchmail-6.3.8/socket.c --- fetchmail-6.3.8/socket.c.addrconf 2006-12-17 01:05:31.000000000 +0100 +++ fetchmail-6.3.8/socket.c 2008-09-18 11:37:15.000000000 +0200 @@ -276,6 +276,9 @@ int SockOpen(const char *host, const cha memset(&req, 0, sizeof(struct addrinfo)); req.ai_socktype = SOCK_STREAM; +#ifdef AI_ADDRCONFIG + req.ai_flags = AI_ADDRCONFIG; +#endif i = fm_getaddrinfo(host, service, &req, ai0); if (i) {