summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-19 07:33:18 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-19 07:33:18 +0000
commit60a3170f2e19865f466722192fd6281b1267d98a (patch)
tree9ba221cde32f7e631d56ce0cc4c002a9218be6a7 /win32
parent037e09a11a0df4a424f4080575cb93a691f6aec2 (diff)
downloadruby-60a3170f2e19865f466722192fd6281b1267d98a.tar.gz
ruby-60a3170f2e19865f466722192fd6281b1267d98a.tar.xz
ruby-60a3170f2e19865f466722192fd6281b1267d98a.zip
* win32/win32.c: include <mswsock.h> on __MINGW32__.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 01e824baa..d5717d668 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -24,6 +24,9 @@
#include <windows.h>
#include <winbase.h>
#include <wincon.h>
+#ifdef __MINGW32__
+#include <mswsock.h>
+#endif
#include "win32.h"
#include "win32/dir.h"
#ifndef index