X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd00fe32fb099384c5fdd337e3749ae461ae497f..79d3dfac2fab5566dd0773e7226bee74fe989e15:/src/x11/evtloop.cpp diff --git a/src/x11/evtloop.cpp b/src/x11/evtloop.cpp index fa380fcc0d..b62ce72440 100644 --- a/src/x11/evtloop.cpp +++ b/src/x11/evtloop.cpp @@ -27,10 +27,10 @@ #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" @@ -42,6 +42,10 @@ #include #include +#ifdef HAVE_SYS_SELECT_H +# include +#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) }