From: Mathieu Rene Date: Thu, 11 Feb 2010 22:48:34 +0000 (+0000) Subject: fix windows build X-Git-Tag: v1.0.6~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133a08dd19261a557a854b9750205bdb337990e6;p=thirdparty%2Ffreeswitch.git fix windows build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16612 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/miniupnpc/miniwget.c b/libs/miniupnpc/miniwget.c index 7e70337d5b..023a0e0ebf 100644 --- a/libs/miniupnpc/miniwget.c +++ b/libs/miniupnpc/miniwget.c @@ -41,7 +41,12 @@ miniwget2(const char * url, const char * host, int * size, char * addr_str, int addr_str_len) { char buf[2048]; - int s, fd_flags; +#ifdef WIN32 + SOCKET s; +#else + int s; +#endif + int fd_flags; struct sockaddr_in dest; struct hostent *hp;