summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-11 18:36:10 +0000
committervayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-11 18:36:10 +0000
commit56b4f97277bd2a29330a393640794d0eb5a019ed (patch)
treeaf8110a34c19ed6073d8aef3c12e61c2d0951cac /stream
parent6ac6e38c285e70183db615206dde86cd0dbed652 (diff)
downloadmpv-56b4f97277bd2a29330a393640794d0eb5a019ed.tar.bz2
mpv-56b4f97277bd2a29330a393640794d0eb5a019ed.tar.xz
mingw uses windows sockets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26223 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/netstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/netstream.h b/stream/netstream.h
index 4326a9d3e4..4d61b01967 100644
--- a/stream/netstream.h
+++ b/stream/netstream.h
@@ -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"