mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 04:22:41 +00:00
Change header order to avoid compile error because of STREAM_SEEK
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15615 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
72ea928194
commit
5ee6c9882d
@ -4,11 +4,20 @@
|
||||
* (C) 2001, MPlayer team.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef HAVE_WINSOCK2
|
||||
#define closesocket close
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#include "http.h"
|
||||
#include "url.h"
|
||||
#include "mp_msg.h"
|
||||
@ -18,13 +27,6 @@
|
||||
#include "network.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
#ifndef HAVE_WINSOCK2
|
||||
#define closesocket close
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
|
||||
extern mime_struct_t mime_type_table[];
|
||||
extern int stream_cache_size;
|
||||
|
@ -23,6 +23,8 @@
|
||||
* based upon code from joschka
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
@ -33,12 +35,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#include <inttypes.h>
|
||||
#include "stream.h"
|
||||
#include "demuxer.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
|
||||
#include "config.h"
|
||||
#ifndef HAVE_WINSOCK2
|
||||
#define closesocket close
|
||||
#include <sys/socket.h>
|
||||
@ -48,6 +44,10 @@
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "stream.h"
|
||||
#include "demuxer.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
#include "pnm.h"
|
||||
//#include "libreal/rmff.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user