From: Lars Ingebrigtsen Date: Mon, 1 Feb 2016 02:06:58 +0000 (+0100) Subject: Build fix for glibc systems. X-Git-Tag: emacs-26.0.90~2520^2~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cc69b4573573f464e5d21c9f47570afa9c2e7b0;p=emacs.git Build fix for glibc systems. --- diff --git a/src/process.c b/src/process.c index 5fee8b0cc32..0e4fcb2c0a9 100644 --- a/src/process.c +++ b/src/process.c @@ -3318,6 +3318,7 @@ void connect_network_socket (Lisp_Object proc, Lisp_Object ip_addresses) } +#ifndef HAVE_GETADDRINFO static Lisp_Object conv_numerical_to_lisp (unsigned char *number, unsigned int length, int port) { @@ -3331,6 +3332,7 @@ conv_numerical_to_lisp (unsigned char *number, unsigned int length, int port) return address; } +#endif /* Create a network stream/datagram client/server process. Treated exactly like a normal process when reading and writing. Primary @@ -3699,6 +3701,7 @@ usage: (make-network-process &rest ARGS) */) if (!NILP (host)) { struct addrinfo *res, *lres; + int ret; immediate_quit = 1; QUIT;