diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 162512f876..751e359b7b 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -502,6 +502,14 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object) #include "wx/unix/gsockunx.h" #elif defined(__WINDOWS__) #include "wx/msw/gsockmsw.h" +#elif defined(__WXMAC__) + #include + #define OTUNIXERRORS 1 + #include + #include + #include + + #include "wx/mac/gsockmac.h" #else #error "Must include correct GSocket header here" #endif