From 2cc69b4573573f464e5d21c9f47570afa9c2e7b0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 1 Feb 2016 03:06:58 +0100 Subject: [PATCH] Build fix for glibc systems. --- src/process.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5