fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16612 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2010-02-11 22:48:34 +00:00
parent 1a5799ad40
commit 133a08dd19

View File

@ -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;