--- a/m4/input.m4 +++ b/m4/input.m4 @@ -97,7 +97,7 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [ XINE_ARG_ENABLE([v4l], [Enable Video4Linux support]) if test x"$enable_v4l" != x"no"; then have_v4l=yes - AC_CHECK_HEADERS([linux/videodev.h], , [have_v4l=no]) + AC_CHECK_HEADERS([libv4l1-videodev.h], , [have_v4l=no]) AC_CHECK_HEADERS([asm/types.h]) if test x"$hard_enable_v4l" = x"yes" && test x"$have_v4l" != x"yes"; then AC_MSG_ERROR([Video4Linux support requested, but prerequisite headers not found.]) --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -47,7 +47,7 @@ */ #define _LINUX_TIME_H -#include +#include #include #include #include