summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-16 22:29:23 +0200
committerwm4 <wm4@nowhere>2013-06-16 22:29:23 +0200
commit0221f16b3664ca17913cb2e3171e73a104a9df6f (patch)
treeacbdc7292c2e7be0dcd681e4b1262cb768b37cc5 /stream
parent16211268b401b637fbcde8de55236c74e5576747 (diff)
downloadmpv-0221f16b3664ca17913cb2e3171e73a104a9df6f.tar.bz2
mpv-0221f16b3664ca17913cb2e3171e73a104a9df6f.tar.xz
cache: use correct header for clock_gettime
Fixes compilation on OSX.
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 a3134b7c4a..39c0701848 100644
--- a/stream/cache.c
+++ b/stream/cache.c
@@ -42,6 +42,7 @@
#include <errno.h>
#include <assert.h>
#include <pthread.h>
+#include <time.h>
#include <libavutil/common.h>