diff options
author | wm4 <wm4@nowhere> | 2014-06-13 12:26:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-13 12:26:32 +0200 |
commit | 85cd114e545634fb8c37cd6c6e52c3c8688ef660 (patch) | |
tree | 474d75249a35e237c417c6bf6eacd612b0ca9e67 | |
parent | b7bedbbc367b0e248880d25139056a690ac996a2 (diff) | |
download | mpv-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.c | 1 |
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> |