comparison libmpdemux/librtsp/rtsp_rtp.c @ 18837:70bcf587a49a

includes before checking for defines (thanks Reimar for watching me)
author ben
date Tue, 27 Jun 2006 21:39:48 +0000
parents 10d3a190d935
children 2f4cf2d615cb
comparison
equal deleted inserted replaced
18836:10d3a190d935 18837:70bcf587a49a
23 #include <string.h> 23 #include <string.h>
24 #include <errno.h> 24 #include <errno.h>
25 #include <stdlib.h> 25 #include <stdlib.h>
26 #include <sys/types.h> 26 #include <sys/types.h>
27 27
28 #include "config.h"
29
28 #ifndef HAVE_WINSOCK2 30 #ifndef HAVE_WINSOCK2
29 #include <netdb.h> 31 #include <netdb.h>
30 #include <netinet/in.h> 32 #include <netinet/in.h>
31 #include <sys/socket.h> 33 #include <sys/socket.h>
32 #include <arpa/inet.h> 34 #include <arpa/inet.h>
33 #else 35 #else
34 #include <winsock2.h> 36 #include <winsock2.h>
35 #include <ws2tcpip.h> 37 #include <ws2tcpip.h>
36 #endif 38 #endif
37 39
38 #include "config.h"
39 #include "mp_msg.h" 40 #include "mp_msg.h"
40 #include "rtsp.h" 41 #include "rtsp.h"
41 #include "rtsp_rtp.h" 42 #include "rtsp_rtp.h"
42 #include "rtsp_session.h" 43 #include "rtsp_session.h"
43 #include "../freesdp/common.h" 44 #include "../freesdp/common.h"