X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb606749b3bc15f680f541c38f1d0f47d65a4504..2b4f3c9f768c91d1927c263f5db644cc16fca0b9:/src/mac/gsocket.c?ds=sidebyside diff --git a/src/mac/gsocket.c b/src/mac/gsocket.c index ef89f1a511..bbeaa29fcf 100644 --- a/src/mac/gsocket.c +++ b/src/mac/gsocket.c @@ -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 #define OTUNIXERRORS 1 #include #include @@ -1648,10 +1650,12 @@ void _GSocket_Internal_Proc(unsigned long e , void* d ) /* Hack added for Mac OS X */ GSocketError GAddress_UNIX_GetPath(GAddress *addr, char *path, size_t buf) { + return GSOCK_INVADDR; } GSocketError GAddress_UNIX_SetPath(GAddress *addr, const char *path) { + return GSOCK_INVADDR; } #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */