diff libmpdemux/realrtsp/rtsp_session.c @ 10281:54bcbf28698a

Networking support under MinGW. Patch by flo/yepyep <flodt8@yahoo.de>.
author diego
date Wed, 11 Jun 2003 16:48:09 +0000
parents 0c72c1d0d6a4
children d572c605f665
line wrap: on
line diff
--- a/libmpdemux/realrtsp/rtsp_session.c	Wed Jun 11 10:39:57 2003 +0000
+++ b/libmpdemux/realrtsp/rtsp_session.c	Wed Jun 11 16:48:09 2003 +0000
@@ -26,9 +26,14 @@
  */
 
 #include <sys/types.h>
+#include "config.h"
+#ifndef HAVE_WINSOCK2
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#else
+#include <winsock2.h>
+#endif
 #include <unistd.h>
 #include <stdio.h>
 #include <fcntl.h>