]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/gsocket.c
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / mac / gsocket.c
index ef89f1a51116aa1f873df34d957fc97ac0002a2e..290f75ee641655730a2d99d98e9b7d0965f9c7e6 100644 (file)
@@ -15,6 +15,7 @@
 
 #ifndef __GSOCKET_STANDALONE__
 #include "wx/setup.h"
+#include "wx/platform.h"
 #endif
 
 #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
@@ -29,6 +30,7 @@
     #define TRUE 1
   #endif
 #else
+  #include <MacHeaders.c>
   #define OTUNIXERRORS 1
   #include <OpenTransport.h>
   #include <OpenTransportProviders.h>