e8f7494
diff -up gambas3-2.99.1/gb.v4l/configure.ac.libv4l1 gambas3-2.99.1/gb.v4l/configure.ac
e8f7494
--- gambas3-2.99.1/gb.v4l/configure.ac.libv4l1	2011-05-21 07:24:20.000000000 -0400
e8f7494
+++ gambas3-2.99.1/gb.v4l/configure.ac	2011-05-28 15:54:10.434733359 -0400
e8f7494
@@ -17,9 +17,9 @@ GB_COMPONENT(
e8f7494
   V4L,
e8f7494
   [Video For Linux component],
e8f7494
   [src],
e8f7494
-  [GB_FIND(png.h jpeglib.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
e8f7494
+  [GB_FIND(png.h jpeglib.h libv4l1-videodev.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
e8f7494
   [GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT, /usr/local /usr, lib)],
e8f7494
-  [$C_LIB -ljpeg -lpng])
e8f7494
+  [$C_LIB -ljpeg -lpng -lv4l1])
e8f7494
 
e8f7494
 AC_OUTPUT( \
e8f7494
 Makefile \
e8f7494
diff -up gambas3-2.99.1/gb.v4l/src/CWebcam.h.libv4l1 gambas3-2.99.1/gb.v4l/src/CWebcam.h
e8f7494
--- gambas3-2.99.1/gb.v4l/src/CWebcam.h.libv4l1	2011-05-21 07:24:20.000000000 -0400
e8f7494
+++ gambas3-2.99.1/gb.v4l/src/CWebcam.h	2011-05-28 15:54:46.073523622 -0400
e8f7494
@@ -26,10 +26,10 @@
e8f7494
 #include <sys/types.h>
e8f7494
 #include <sys/ioctl.h>
e8f7494
 #include <linux/types.h>
e8f7494
+#include <libv4l1-videodev.h>
e8f7494
 #include <linux/videodev2.h>
e8f7494
 #include <libv4lconvert.h>
e8f7494
 
e8f7494
-#include "videodev.h"
e8f7494
 #include "gambas.h"
e8f7494
 
e8f7494
 #ifndef __CWEBCAM_C