--- a/libproxy/url.cpp	2014-03-28 09:36:01 +0400
+++ b/libproxy/url.cpp	2014-04-03 13:23:37 +0400
@@ -34,7 +34,7 @@
 #include <io.h>
 #define open _open
 #define O_RDONLY _O_RDONLY
-#define close _close
+#define close closesocket
 #define read _read
 #define SHUT_RDWR SD_BOTH
 #else
