]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix windows build
authorMathieu Rene <mrene@avgs.ca>
Thu, 11 Feb 2010 22:48:34 +0000 (22:48 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 11 Feb 2010 22:48:34 +0000 (22:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16612 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/miniupnpc/miniwget.c

index 7e70337d5b7186cde44883a81d30a638b0a66ac3..023a0e0ebf23d85c48c193c36188e3f063040c75 100644 (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;