summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-stream_dvbin.h
blob: ed709a54d97d95c55f9f741fe60cef749c734422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-stream_dvbin.h,v 1.2 2012/06/11 21:55:34 wiz Exp $

Add support for dvb capture on NetBSD.

--- stream/dvbin.h.orig	2010-06-21 14:39:24.000000000 +0000
+++ stream/dvbin.h
@@ -16,9 +16,13 @@
 #define LOF2 (10600*1000UL)
 
 #include <inttypes.h>
+#ifdef __NetBSD__
+#include <dev/dtv/dtvio.h>
+#else
 #include <linux/dvb/dmx.h>
 #include <linux/dvb/frontend.h>
 #include <linux/dvb/version.h>
+#endif
 
 #undef DVB_ATSC
 #if defined(DVB_API_VERSION_MINOR)