diff options
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <winsock2.h> +#include <windows.h> +#else #include <windows.h> #include <winsock.h> +#endif #undef OpenFile #endif |