comparison 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
comparison
equal deleted inserted replaced
10280:24145d6b5883 10281:54bcbf28698a
25 * some functions for real media file headers 25 * some functions for real media file headers
26 * adopted from joschkas real tools 26 * adopted from joschkas real tools
27 */ 27 */
28 28
29 #include <sys/types.h> 29 #include <sys/types.h>
30 #include "config.h"
31 #ifndef HAVE_WINSOCK2
30 #include <sys/socket.h> 32 #include <sys/socket.h>
31 #include <netinet/in.h> 33 #include <netinet/in.h>
32 #include <netdb.h> 34 #include <netdb.h>
35 #else
36 #include <winsock2.h>
37 #endif
33 #include <unistd.h> 38 #include <unistd.h>
34 #include <stdio.h> 39 #include <stdio.h>
35 #include <fcntl.h> 40 #include <fcntl.h>
36 #include <stdlib.h> 41 #include <stdlib.h>
37 #include <string.h> 42 #include <string.h>