From 133a08dd19261a557a854b9750205bdb337990e6 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Thu, 11 Feb 2010 22:48:34 +0000 Subject: [PATCH] fix windows build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16612 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/miniupnpc/miniwget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;