#if wxUSE_SOCKETS
#include "wx/gsocket.h"
+#include "wx/link.h"
+
+wxFORCE_LINK_MODULE(gsockmsw)
#ifdef __WXWINCE__
#ifndef isdigit
se = getservbyname(port, protocol);
if (!se)
{
- if (isdigit(port[0]))
+ if (isdigit((unsigned char) port[0]))
{
int port_int;