summaryrefslogtreecommitdiff
path: root/misc/nxtvepg/patches/patch-af
blob: 6e1c131491ab3a2daa86af041e583be02fa31e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-af,v 1.6 2004/11/27 14:19:16 magick Exp $

--- tvsim/tvsim_main.c.orig	2004-08-15 21:07:25.000000000 +0200
+++ tvsim/tvsim_main.c
@@ -64,9 +64,13 @@
 #include "tvsim/tvsim_version.h"
 
 #if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__)
 #include <machine/ioctl_bt848.h>
 #endif
-
+#if defined(__NetBSD__)
+#include <dev/ic/bt8xx.h>
+#endif
+#endif
 // prior to 8.4 there's a SEGV when evaluating const scripts (Tcl tries to modify the string)
 #if (TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4))
 # define TCL_EVAL_CONST(INTERP, SCRIPT) Tcl_EvalEx(INTERP, SCRIPT, -1, TCL_EVAL_GLOBAL)