summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-08 00:14:31 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-08 00:14:31 +0000
commit6b5f366e47ae28acb9a96d1dfb11c64abfcccb20 (patch)
tree80d91bea0d46719cf24c5e809cf3312b5c1d5141 /src/process.c
parent49bc796d5c435c4de5b8bf131e840f2f2920cc7c (diff)
downloademacs-6b5f366e47ae28acb9a96d1dfb11c64abfcccb20.tar.gz
(Fopen_network_stream)[WINDOWSNT]: Ensure Windows
socket library is loaded if available.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 5 insertions, 0 deletions
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);