]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gsockgtk.c
New makefile updates.
[wxWidgets.git] / src / gtk1 / gsockgtk.c
index f31333439f570c66c4751053a96b838ac8630419..006a04fbf03c3a9966dbbd4e3c70e3ef7e04b0ab 100644 (file)
@@ -5,10 +5,14 @@
  * CVSID:   $Id$
  * -------------------------------------------------------------------------
  */
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
 #include <stdlib.h>
-#include <gdk/gdk.h>
-#include <glib.h>
-#include <wx/gsocket.h>
+#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 */