From: Richard M. Stallman Date: Sat, 8 Jun 1996 00:14:31 +0000 (+0000) Subject: (Fopen_network_stream)[WINDOWSNT]: Ensure Windows X-Git-Tag: emacs-19.34~507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bff3ed0ac3598b3eafda5ca3a44ac9db102dcfb1;p=emacs.git (Fopen_network_stream)[WINDOWSNT]: Ensure Windows socket library is loaded if available. --- 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);