updated for version 7.2-206
diff --git a/src/netbeans.c b/src/netbeans.c
index dba50d4..fe3a70c 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -32,6 +32,7 @@
 /* WinSock API is separated from C API, thus we can't use read(), write(),
  * errno... */
 # define sock_errno WSAGetLastError()
+# undef ECONNREFUSED
 # define ECONNREFUSED WSAECONNREFUSED
 # ifdef EINTR
 #  undef EINTR