summaryrefslogtreecommitdiff
path: root/sysutils/pcvt-utils/patches/patch-ab
blob: 99763d9fdf0f1890e20748a13a4506fac6d4de7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.2 2011/10/01 21:42:16 dholland Exp $

- use modern C
- use the right include files for netbsd with wscons

--- kbdio/kbdio.y.orig	Mon Dec  4 13:57:07 2000
+++ kbdio/kbdio.y
@@ -40,7 +40,13 @@
 #include <math.h>
 #include <sys/fcntl.h>
 #include <machine/cpufunc.h>
+#include <unistd.h>
+#if WSCONS
+#include <sys/ioctl.h>
+#include <dev/wscons/wsdisplay_usl_io.h>
+#else
 #include <machine/pcvt_ioctl.h>
+#endif
 
 #ifdef __NetBSD__
 #include <machine/pio.h>