$NetBSD$ --- cinelerra/vdevicev4l.h.orig 2010-01-29 08:20:15.000000000 +0000 +++ cinelerra/vdevicev4l.h @@ -23,7 +23,9 @@ #define VDEVICEV4L_H #include "vdevicebase.h" -#include +#if defined(HAVE_LINUX_VIDEODEV_H) +# include +#endif #include "videodevice.inc" class VDeviceV4L : public VDeviceBase @@ -66,10 +68,12 @@ private: int colormodel; // Video4Linux +#if defined(HAVE_LINUX_VIDEODEV_H) struct video_capability cap1; struct video_window window_params; struct video_picture picture_params; struct video_mbuf capture_params; // Capture for Video4Linux +#endif // Common char *capture_buffer; // sequentual capture buffers for v4l1 or read buffer for v4l2