X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42b7406da25e7e5e24ff576298f649d19f5606f1..b5435dccd098ae153c3b7b3b8fca8dd0d763986c:/src/msw/gsocket.c?ds=inline diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index dbdbe90fe6..0a5ad3a4ac 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -3,6 +3,7 @@ * Name: gsocket.c * Author: Guillermo Rodriguez Garcia * Purpose: GSocket main MSW file + * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -26,6 +27,8 @@ # pragma warning(disable:4100) #endif /* _MSC_VER */ +#include + #ifndef __GSOCKET_STANDALONE__ # include "wx/defs.h" # include "wx/setup.h" @@ -49,15 +52,22 @@ # define _GSocket_Disable_Events(socket) #endif /* wxUSE_GUI */ +#ifndef __WXWINCE__ #include +#else +#define assert(x) +#ifndef isdigit +#define isdigit(x) (x > 47 && x < 58) +#endif +#include "wx/msw/wince/net.h" +#endif + #include #include #include #include #include -#include - /* if we use configure for MSW SOCKLEN_T will be already defined */ #ifndef SOCKLEN_T # define SOCKLEN_T int