summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-13 12:26:32 +0200
committerwm4 <wm4@nowhere>2014-06-13 12:26:32 +0200
commit85cd114e545634fb8c37cd6c6e52c3c8688ef660 (patch)
tree474d75249a35e237c417c6bf6eacd612b0ca9e67
parentb7bedbbc367b0e248880d25139056a690ac996a2 (diff)
downloadmpv-85cd114e545634fb8c37cd6c6e52c3c8688ef660.tar.bz2
mpv-85cd114e545634fb8c37cd6c6e52c3c8688ef660.tar.xz
tv: add missing header for clock_gettime
Not sure how this symbol becomes visible in glibc (probably accidental or mandatory recursive inclusion via the other standard or Linux- specific headers), but normally this include file is needed to get the symbol.
-rw-r--r--stream/tvi_v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c
index d34ad0df33..dfde2eb282 100644
--- a/stream/tvi_v4l2.c
+++ b/stream/tvi_v4l2.c
@@ -40,6 +40,7 @@ known issues:
#include <pthread.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>