From 78604644e280daab370e6415f588606998bd4d73 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 18 Aug 2005 03:50:47 +0000 Subject: * bcc32/Makefile.sub (COMMON_HEADERS): reverted 1.42.2.24. I misunderstood, bccwin32 on ruby_1_8 uses winsock2 originally. [ruby-dev:26806] * win32/win32.h: include winsock2.h instead of winsock.h. (bcc32) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win32') diff --git a/win32/win32.h b/win32/win32.h index 76d10cb50d..a75662b30b 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -22,8 +22,13 @@ // There is function-name conflitct, so we rename it #if !defined(IN) && !defined(FLOAT) #define OpenFile WINAPI_OpenFile +#ifdef __BORLANDC__ +#include +#include +#else #include #include +#endif #undef OpenFile #endif -- cgit v1.2.3