summaryrefslogtreecommitdiff
path: root/misc/fep/patches/patch-ah
blob: 03a27359c46e2881a79538167ba376fc9822b310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ah,v 1.2 2003/11/07 16:35:51 christos Exp $

--- fep_glob.h.orig	1988-08-28 01:36:43.000000000 -0400
+++ fep_glob.h	2003-11-07 11:17:00.000000000 -0500
@@ -3,7 +3,7 @@
 #ifndef lint
 # define FEP_GLOB \
     "$Header: /cvsroot/pkgsrc/misc/fep/patches/patch-ah,v 1.2 2003/11/07 16:35:51 christos Exp $ (SRA)"
-#endif lint
+#endif /* lint */
 
 extern FUNC	*curFuncTab;	/* function table */
 extern FUNC	*altFuncTab;	/* altanative function table */
@@ -29,6 +29,11 @@
  * tty control caracters.
  * defined in fep_main.c
  */
+#ifdef TERMIOS
+extern struct termios initial_ttymode;
+#elif defined(TIOCSETN)
 extern struct tchars tchars_buf;
 extern struct ltchars ltchars_buf;
 extern struct sgttyb initial_ttymode;
+#endif
+