summaryrefslogtreecommitdiff
path: root/misc/heyu/patches/patch-ac
blob: c07437b9dd68874e2e071e011de156a55e34807c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.3 2003/11/11 10:17:39 wiz Exp $

--- tty.c.orig	Sun Mar 30 22:57:59 2003
+++ tty.c
@@ -93,7 +93,12 @@ struct sgttyb oldsb, newsb;
 #endif
 struct termio oldsb, newsb;
 #else
+#ifdef NETBSD
+  #include <sys/termios.h>
+  #define NCC NCCS
+#else
 #include <termios.h>
+#endif
 struct termios oldsb, newsb;
 #endif