summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h5
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