summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-vb
blob: a05e09a7ade31d447d7b45048230326e39c710ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-vb,v 1.3 2009/10/18 22:22:10 ahoka Exp $

--- stream/tvi_v4l2.c.orig	2009-05-13 04:58:57.000000000 +0200
+++ stream/tvi_v4l2.c
@@ -49,8 +49,12 @@ known issues:
 #ifdef HAVE_SYS_SYSINFO_H
 #include <sys/sysinfo.h>
 #endif
+#ifdef __linux__
 #include <linux/types.h>
 #include <linux/videodev2.h>
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
+#include <sys/videoio.h>
+#endif
 #include "mp_msg.h"
 #include "libmpcodecs/img_format.h"
 #include "libaf/af_format.h"