diff libmpdemux/realrtsp/rmff.h @ 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 7a51e10ceef4
children
line wrap: on
line diff
--- a/libmpdemux/realrtsp/rmff.h	Wed Jun 11 10:39:57 2003 +0000
+++ b/libmpdemux/realrtsp/rmff.h	Wed Jun 11 16:48:09 2003 +0000
@@ -27,9 +27,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>