summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-23 21:52:13 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-23 21:52:13 +0000
commitcb776a965b832fba9f77383d0c758015d86679dc (patch)
tree7b6235e0967f29637c8f55639425ab0af2513c30 /libmpdemux
parent27a401bacbeec2b20ff81bf834d83ac7f8f0d7d9 (diff)
downloadmpv-cb776a965b832fba9f77383d0c758015d86679dc.tar.bz2
mpv-cb776a965b832fba9f77383d0c758015d86679dc.tar.xz
sys/types.h required for off_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5293 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h
index 6fd271d50c..27e4ace0b2 100644
--- a/libmpdemux/stream.h
+++ b/libmpdemux/stream.h
@@ -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);