[Gridflow-dev] missing include linux/videodev.h in src/videodev.cxx

Claude Heiland-Allen claude at goto10.org
Thu Dec 22 11:46:05 EST 2011


Hey,

On Debian Squeeze I needed to add this line to src/videodev.cxx for it 
to compile successfully (perhaps in the past this file was included by 
libv4l headers?).


Index: src/videodev.cxx
===================================================================
--- src/videodev.cxx    (revision 6870)
+++ src/videodev.cxx    (working copy)
@@ -35,7 +35,7 @@
  #include <sys/mman.h>
  #include "pwc-ioctl.h"
  #include <sstream>
-
+#include <linux/videodev.h>
  #include <libv4l1.h>
  #define close  v4l1_close
  #define ioctl  v4l1_ioctl



Claude



More information about the Gridflow-dev mailing list