Fix Winsock errno code overlap
Some Winsock errno:s conflict with the standard ones. Try to
restrict the redefines to things relevant for sockets.
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx
index 83360d6..75131a6 100644
--- a/common/rdr/FdOutStream.cxx
+++ b/common/rdr/FdOutStream.cxx
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
+#include <errno.h>
#ifdef _WIN32
#include <winsock2.h>
#define write(s,b,l) send(s,(const char*)b,l,0)
@@ -31,7 +32,6 @@
#include <os/winerrno.h>
#else
#include <sys/types.h>
-#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
#endif