mirror of https://github.com/mpv-player/mpv
avoid messing up with includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18839 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
822b69ae21
commit
808992064d
|
@ -18,8 +18,6 @@
|
|||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -28,15 +26,16 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#ifndef HAVE_WINSOCK2
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#define closesocket close
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "mp_msg.h"
|
||||
#include "rtsp.h"
|
||||
#include "rtsp_rtp.h"
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#ifndef _HAVE_RTSP_RTP_H_
|
||||
#define _HAVE_RTSP_RTP_H_
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include "rtsp.h"
|
||||
|
||||
#define MAX_PREVIEW_SIZE 4096
|
||||
|
|
Loading…
Reference in New Issue