$NetBSD: patch-v4l2,v 1.2 2009/07/07 16:17:47 tnn Exp $ --- modules/access/v4l2.c.orig 2009-05-22 01:06:04.000000000 +0200 +++ modules/access/v4l2.c @@ -48,7 +48,13 @@ #include #include -#include +#if defined(HAVE_LINUX_VIDEODEV2_H) +# include +#elif defined(HAVE_SYS_VIDEOIO_H) +# include +#else +# error "No Video4Linux2 headers found." +#endif #include