Mercurial > mplayer.hg
comparison stream/rtp.c @ 28402:c884d17bd005
Convert HAVE_WINSOCK2_H into a 0/1 definition.
author | diego |
---|---|
date | Sun, 01 Feb 2009 13:42:27 +0000 |
parents | ae5da477539e |
children | 0f1b5b68af32 |
comparison
equal
deleted
inserted
replaced
28401:e0d9eb28e807 | 28402:c884d17bd005 |
---|---|
11 #include <stdlib.h> | 11 #include <stdlib.h> |
12 #include <stdio.h> | 12 #include <stdio.h> |
13 #include <sys/types.h> | 13 #include <sys/types.h> |
14 #include <ctype.h> | 14 #include <ctype.h> |
15 #include "config.h" | 15 #include "config.h" |
16 #ifndef HAVE_WINSOCK2_H | 16 #if !HAVE_WINSOCK2_H |
17 #include <netinet/in.h> | 17 #include <netinet/in.h> |
18 #include <sys/socket.h> | 18 #include <sys/socket.h> |
19 #include <arpa/inet.h> | 19 #include <arpa/inet.h> |
20 #else | 20 #else |
21 #include <winsock2.h> | 21 #include <winsock2.h> |