#pragma implementation "socket.cpp"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
/////////////////////////////////////////////////////////////////////////////
// wxWindows headers
/////////////////////////////////////////////////////////////////////////////
#include <signal.h>
#include <errno.h>
+#ifdef _MSC_VER
+#include <io.h>
+#endif
+
#if defined(__WXMOTIF__) || defined(__WXXT__)
#include <X11/Intrinsic.h>
#include "wx/sckaddr.h"
#include "wx/socket.h"
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
/////////////////////////////////////////////////////////////////////////////
// Some patch ///// BEGIN
/////////////////////////////////////////////////////////////////////////////