summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-13 12:26:32 +0200
committerwm4 <wm4@nowhere>2014-06-14 14:07:24 +0200
commit4b36023273bbb099750ad2af705115880e3d5588 (patch)
tree284a39b5e381210f136639e3097f101f88186cae
parent864a2da9eae92c524fb5abd2b4a71036361e37f5 (diff)
downloadmpv-4b36023273bbb099750ad2af705115880e3d5588.tar.bz2
mpv-4b36023273bbb099750ad2af705115880e3d5588.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 a6eb865fcd..934c8ddaf1 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>