diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-10 04:55:34 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-10 04:55:34 +0000 |
commit | a32bc08d36360adf59806908ebe790ff03f689a2 (patch) | |
tree | aff30ce96dfe57baca2258006515aa59f57e8988 /win32/win32.h | |
parent | 0de28773260c8c47dec6a39711765c27acc646de (diff) | |
download | ruby-a32bc08d36360adf59806908ebe790ff03f689a2.tar.gz |
* configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): use
winsock2 on mswin32/mingw.
* ext/socket/extconf.rb: ditto.
* win32/win32.c (StartSockets): ditto.
* win32/win32.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h index 58538b26ee..25e949a7a9 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -22,8 +22,8 @@ // There is function-name conflitct, so we rename it #if !defined(IN) && !defined(FLOAT) #define OpenFile WINAPI_OpenFile +#include <winsock2.h> #include <windows.h> -#include <winsock.h> #undef OpenFile #endif |