X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b91ecabeb35ad879412df1bcd1cec9ea97a20a..48b1d0ff4ff220d8f2994723f936a1ffa60addce:/src/gtk1/gsockgtk.c diff --git a/src/gtk1/gsockgtk.c b/src/gtk1/gsockgtk.c index f31333439f..006a04fbf0 100644 --- a/src/gtk1/gsockgtk.c +++ b/src/gtk1/gsockgtk.c @@ -5,10 +5,14 @@ * CVSID: $Id$ * ------------------------------------------------------------------------- */ +#include "wx/setup.h" + +#if wxUSE_SOCKETS + #include -#include -#include -#include +#include "gdk/gdk.h" +#include "glib.h" +#include "wx/gsocket.h" #include "../unix/gsockunx.h" void _GSocket_GDK_Input(gpointer data, gint source, GdkInputCondition condition) @@ -105,3 +109,5 @@ unsigned long GSocket_GetEventID(GSocket *socket) void GSocket_DoEvent(unsigned long evt_id) { } + +#endif /* wxUSE_SOCKETS */