$NetBSD: patch-v4l2,v 1.1 2008/09/07 23:39:38 ahoka Exp $ --- libavdevice/v4l2.c.orig 2008-07-15 22:45:42.000000000 +0200 +++ libavdevice/v4l2.c @@ -34,8 +34,13 @@ #include #include #include -#include -#include +#if defined(__NetBSD__) || defined(__OpenBSD__) +# include +# include +#else +# include +# include +#endif #include static const int desired_video_buffers = 256;