summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-vb
blob: bec453cf8875310ad6ee87261ab171c7b0dfd4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-vb,v 1.2 2008/09/09 12:13:13 jmcneill Exp $

--- stream/tvi_v4l2.c.orig	2008-09-09 08:11:50.000000000 -0400
+++ stream/tvi_v4l2.c	2008-09-09 08:12:21.000000000 -0400
@@ -38,8 +38,12 @@
 #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"