changeset 26191:b7d6346ab198

mingw uses windows sockets.
author vayne
date Tue, 11 Mar 2008 18:36:10 +0000
parents e9617c54bb04
children 53a8a63ee7e6
files stream/netstream.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/netstream.h	Tue Mar 11 14:44:19 2008 +0000
+++ b/stream/netstream.h	Tue Mar 11 18:36:10 2008 +0000
@@ -14,7 +14,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+#ifndef HAVE_WINSOCK2
 #include <sys/socket.h>
+#endif
 #include "mp_msg.h"
 #include "mpbswap.h"