From bff3ed0ac3598b3eafda5ca3a44ac9db102dcfb1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 8 Jun 1996 00:14:31 +0000 Subject: [PATCH] (Fopen_network_stream)[WINDOWSNT]: Ensure Windows socket library is loaded if available. --- src/process.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/process.c b/src/process.c index a5eba6c9f17..8e533784260 100644 --- a/src/process.c +++ b/src/process.c @@ -1634,6 +1634,11 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ int retry = 0; int count = specpdl_ptr - specpdl; +#ifdef WINDOWSNT + /* Ensure socket support is loaded if available. */ + init_winsock (TRUE); +#endif + GCPRO4 (name, buffer, host, service); CHECK_STRING (name, 0); CHECK_STRING (host, 0); -- 2.39.2