$OpenBSD: patch-modules_access_v4l2_v4l2_h,v 1.2 2019/12/01 22:44:13 ajacoutot Exp $

Use OpenBSD's videoio.h header.

Index: modules/access/v4l2/v4l2.h
--- modules/access/v4l2/v4l2.h.orig
+++ modules/access/v4l2/v4l2.h
@@ -18,7 +18,12 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_SYS_VIDEOIO_H
+#include <sys/ioccom.h>
+#include <sys/videoio.h>
+#else
 #include <linux/videodev2.h>
+#endif
 
 /* libv4l2 functions */
 extern int (*v4l2_fd_open) (int, int);
