summaryrefslogtreecommitdiffstats
path: root/slirp
diff options
context:
space:
mode:
Diffstat (limited to 'slirp')
-rw-r--r--slirp/slirp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index fb55ad9..1bb189d 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -331,6 +331,7 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#endif
#ifdef _WIN32
+#undef errno
#define errno (WSAGetLastError())
#endif
OpenPOWER on IntegriCloud