[Mplayer-cvslog] CVS: main/TOOLS/netstream netstream.c,1.2,1.3

Diego Biurrun CVS diego at mplayerhq.hu
Wed Jun 11 18:48:39 CEST 2003


Update of /cvsroot/mplayer/main/TOOLS/netstream
In directory mail:/var/tmp.root/cvs-serv719/TOOLS/netstream

Modified Files:
	netstream.c 
Log Message:
Networking support under MinGW.
Patch by flo/yepyep <flodt8 at yahoo.de>.


Index: netstream.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/netstream/netstream.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- netstream.c	6 Apr 2003 18:16:11 -0000	1.2
+++ netstream.c	11 Jun 2003 16:48:05 -0000	1.3
@@ -28,11 +28,17 @@
 #include <inttypes.h>
 #include <errno.h>
 #include <signal.h>
-
 #include <sys/types.h>
+
+#include "config.h"
+
+#ifndef HAVE_WINSOCK2
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#else
+#include <winsock2.h>
+#endif
 
 #include <libmpdemux/stream.h>
 #include <mp_msg.h>



More information about the MPlayer-cvslog mailing list