I have been trying to test out the new webcam support with MSN, and have been having some trouble getting it to work. I have traced my problems back to an error in configure failing to compile the test for videodev.h, and therefore thinking that I have no v4l support.
/usr/include/linux/videodev.h:55: error: syntax error before "ulong" /usr/include/linux/videodev.h:71: error: syntax error before '}' token
The following patch fixes it for me, but I have little knowledge of autoconf, so I'm not sure if I've done the right thing? sys/time.h includes bits/types.h, and bits/types.h says it should not be included directly - and to use sys/types.h
--- configure.ac.080605 2005-06-08 21:56:04.000000000 +1200 +++ configure.ac 2005-06-08 21:56:42.000000000 +1200 @@ -1226,6 +1226,7 @@ AC_CHECK_HEADERS(linux/videodev.h,,, [#ifdef HAVE_SYS_TIME_H #include <sys/time.h> +#include <sys/types.h> #endif #ifdef HAVE_ASM_TYPES_H #include <asm/types.h>
The webcam support is truly amazing BTW - I never expected something like that to work so well in wine!
Cheers, Adrian