summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-vb
blob: e3709594dfa67b31e8a240fb0aff5ce0beebb616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-vb,v 1.4 2010/09/16 18:56:12 wiz Exp $

--- stream/tvi_v4l2.c.orig	2010-08-03 15:55:17.000000000 +0000
+++ 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 "libmpcodecs/dec_teletext.h"