]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckint.cpp
A few compile things.
[wxWidgets.git] / src / common / sckint.cpp
index 8531c9b3a929b054c038023f924010e2a5816d2f..f2d56164b007e4f8033fc6651b359c6b3be66dd2 100644 (file)
 #if wxUSE_SOCKETS
 
 #define WXSOCK_INTERNAL
-#include <wx/object.h>
-#include <wx/list.h>
-#include <wx/socket.h>
-#include <wx/thread.h>
-#include <wx/sckint.h>
+#include "wx/object.h"
+#include "wx/list.h"
+#include "wx/socket.h"
+#include "wx/thread.h"
+#include "wx/sckint.h"
+#include "wx/sckint.h"
+#include "wx/utils.h"
+
+// IRIX requires bstring.h be included to use select()
+#ifdef sgi
+    #include <bstring.h>
+#endif // IRIX
 
 #ifndef __WXSTUBS__
 
@@ -179,6 +186,8 @@ void *SocketWaiter::Entry()
   return NULL;
 }
 
+#endif
+
 // --------------------------------------------------------------
 // --------- SocketRequester ------------------------------------
 // --------------------------------------------------------------
@@ -300,6 +309,8 @@ void SocketRequester::ProcessWaitEvent(SockRequest *req)
   m_internal->EndRequest(req);
 }
 
+
+#if wxUSE_THREADS
 void *SocketRequester::Entry()
 {
   SockRequest *req;