$NetBSD: patch-vdevicev4l_h,v 1.1.1.1 2010/02/02 02:01:54 phonohawk Exp $

--- cinelerra/vdevicev4l.h.orig	2010-02-01 08:26:23.000000000 +0000
+++ cinelerra/vdevicev4l.h
@@ -23,7 +23,9 @@
 #define VDEVICEV4L_H
 
 #include "vdevicebase.h"
-#include <linux/videodev.h>
+#if defined(HAVE_LINUX_VIDEODEV_H)
+#  include <linux/videodev.h>
+#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
