--- wxPython-src-2.6.4.0-orig/src/gtk/gsockgtk.cpp +++ wxPython-src-2.6.4.0/src/gtk/gsockgtk.cpp @@ -14,8 +14,16 @@ #include #include -#include -#include +// Cannot include full gdk.h as it pulls in giotypes.h with +// new GSocket conflicts since 2.21/2.22 +#include +// deprecated, copy from gdk.h +gint gdk_input_add (gint source, + GdkInputCondition condition, + GdkInputFunction function, + gpointer data); +void gdk_input_remove (gint tag); +#include #include "wx/gsocket.h" #include "wx/unix/gsockunx.h"