mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
sys/types.h required for off_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5293 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27a401bacb
commit
cb776a965b
@ -3,6 +3,7 @@
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include <inttypes.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define STREAM_BUFFER_SIZE 2048
|
||||
|
||||
@ -53,7 +54,7 @@ int stream_enable_cache(stream_t *stream,int size,int min,int prefill);
|
||||
// no cache
|
||||
#define cache_stream_fill_buffer(x) stream_fill_buffer(x)
|
||||
#define cache_stream_seek_long(x,y) stream_seek_long(x,y)
|
||||
#define stream_enable_cache(x,y) 1
|
||||
#define stream_enable_cache(x,y,z,w) 1
|
||||
#endif
|
||||
|
||||
int cache_stream_fill_buffer(stream_t *s);
|
||||
|
Loading…
Reference in New Issue
Block a user