Files
pkgsrc-ng/multimedia/mplayer-share/patches/patch-stream_dvbin.h
2013-09-26 17:14:40 +02:00

21 lines
469 B
C

$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)