]> git.eshelyaron.com Git - emacs.git/commitdiff
Windows build fix
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2016 00:19:42 +0000 (01:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2016 00:19:42 +0000 (01:19 +0100)
* process.c (Fmake_network_process): Build fix for systems
without local sockets.

src/process.c

index b91e1c97a97848f38f40f971014d22b81ec4b926..6b76559f309181b2e705da273cf5810804e19718 100644 (file)
@@ -3587,7 +3587,9 @@ usage: (make-network-process &rest ARGS)  */)
     {
       /* The "connection" function gets it bind info from the address we're
         given, so use this dummy address if nothing is specified. */
+#ifdef HAVE_LOCAL_SOCKETS
       if (family != AF_LOCAL)
+#endif
        host = build_string ("127.0.0.1");
     }
   else