X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38bb138f09688c1575766aafdbf296dfeeee0d7d..6eaebb297a16db33612717a06f576f8606b5132f:/include/wx/gsocket.h

diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h
index 2b626a698e..4158ab1baa 100644
--- a/include/wx/gsocket.h
+++ b/include/wx/gsocket.h
@@ -13,13 +13,9 @@
 
 #ifndef __GSOCKET_STANDALONE__
 #include "wx/setup.h"
+#include "wx/platform.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(  WXDLLIMPEXP_NET )
-#define WXDLLIMPEXP_NET
-#endif
+#include "wx/dlimpexp.h" // for WXDLLIMPEXP_NET
 
 #endif