#ifndef __GSOCKET_STANDALONE__
#include "wx/setup.h"
+
+// kludge for GTK.. gsockgtk.c craps out miserably if we include
+// defs.h ... no idea how other files get away with it..
+
+#if !defined( __WXMSW__ ) && !defined( WXDLLEXPORT )
+#define WXDLLEXPORT
+#endif
+
#endif
#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)