diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/tvi_v4l2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index def59ad40d..234a5ac019 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -49,8 +49,12 @@ known issues: #ifdef HAVE_SYS_SYSINFO_H #include <sys/sysinfo.h> #endif +#ifdef HAVE_SYS_VIDEOIO_H +#include <sys/videoio.h> +#else #include <linux/types.h> #include <linux/videodev2.h> +#endif #include "mp_msg.h" #include "libmpcodecs/img_format.h" #include "libmpcodecs/dec_teletext.h" |