summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-08 19:26:45 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-08 20:04:07 +0200
commit846f46ec1df39fb65490a90826039eb709261da0 (patch)
tree578d1212f49336e544644195a4643c98dffbfdf9 /stream
parent15a5422dd2ba18d10c598f91b8cdae86269b2af1 (diff)
downloadmpv-846f46ec1df39fb65490a90826039eb709261da0.tar.bz2
mpv-846f46ec1df39fb65490a90826039eb709261da0.tar.xz
cache: fix compilation without posix timers
This is a regression caused by 854303a. This commit removed the include of `sys/time.h` which was included in `cache.c` through a chain of recurvive includes.
Diffstat (limited to 'stream')
-rw-r--r--stream/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/cache.c b/stream/cache.c
index 4015aae82c..4a062538db 100644
--- a/stream/cache.c
+++ b/stream/cache.c
@@ -43,6 +43,7 @@
#include <assert.h>
#include <pthread.h>
#include <time.h>
+#include <sys/time.h>
#include <libavutil/common.h>