]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/evtloop.cpp
More bakfile changes needed for bmpcbox. Rebaked.
[wxWidgets.git] / src / x11 / evtloop.cpp
index fa380fcc0d4ff77c3312b790a73c3874553bb05a..b62ce72440522179e793cc076ff5a9b3fa3d1ebf 100644 (file)
     #include "wx/app.h"
     #include "wx/window.h"
     #include "wx/timer.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/tooltip.h"
-#include "wx/module.h"
 #include "wx/unix/private.h"
 #include "wx/x11/private.h"
 #include "X11/Xlib.h"
 #include <sys/time.h>
 #include <unistd.h>
 
+#ifdef HAVE_SYS_SELECT_H
+#   include <sys/select.h>
+#endif
+
 #if wxUSE_SOCKETS
 // ----------------------------------------------------------------------------
 // wxSocketTable
@@ -76,7 +80,7 @@ class wxSocketTable: public wxHashTable
     wxSocketTable(): wxHashTable(wxKEY_INTEGER)
     {
     }
-    ~wxSocketTable()
+    virtual ~wxSocketTable()
     {
         WX_CLEAR_HASH_TABLE(*this)
     }