summaryrefslogtreecommitdiff
path: root/japanese/typist/files/patch-src-screen.c
blob: 48320b911f360d6ed62747ef463c2f968c1cd9e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- screen.c	Wed May 21 04:38:05 1997
+++ screen.c	Mon Jun  4 10:36:47 2007
@@ -127,7 +127,7 @@
 #define  MIN_HEIGHT	24
 
 #ifdef TERMIO
-# include <termio.h>
+# include <termios.h>
 #else
 # include <sgtty.h>
 #endif
@@ -177,9 +177,9 @@
 	int sw;
 {
 	static int	firsttime = 1;
-	struct termio *s;
-	static struct termio save_term;
-	static struct termio raw_term;
+	struct termios *s;
+	static struct termios save_term;
+	static struct termios raw_term;
 
 	if (sw) {
 		s = &raw_term;