pkgsrc/multimedia/dvb-apps/patches/patch-util_szap_tzap.c
jmcneill f236f6ffc0 add the following to the dvb-apps build:
- libdvbapi
 - libucsi
 - atsc_epg
 - azap / czap / szap / tzap
 - dvbdate
2011-07-15 22:59:20 +00:00

21 lines
419 B
C

$NetBSD: patch-util_szap_tzap.c,v 1.1 2011/07/15 22:59:21 jmcneill Exp $
--- util/szap/tzap.c.orig 2011-06-28 05:50:24.000000000 +0000
+++ util/szap/tzap.c
@@ -32,8 +32,16 @@
#include <errno.h>
#include <signal.h>
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 0
+#endif
+
+#ifdef __NetBSD__
+#include <dev/dtv/dtvio.h>
+#else
#include <linux/dvb/frontend.h>
#include <linux/dvb/dmx.h>
+#endif
#include "util.h"