summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-ba
blob: d2a4b56894ce0a06edd06557596099684d91d6e6 (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
26
27
28
29
$NetBSD: patch-ba,v 1.3 2002/07/08 02:21:20 kim Exp $

--- term.c.orig	Sun Jun 16 01:54:33 2002
+++ term.c	Sun Jul  7 21:33:10 2002
@@ -42,9 +42,9 @@
 #  include <termio.h>
 # endif	/* USE_TERMCAP */
 #else
-#ifndef __FreeBSD__
+#ifndef HAVE_TERMIOS_H
 # include <sgtty.h>
-#endif	/* __FreeBSD__ */
+#endif	/* HAVE_TERMIOS_H */
 #endif
 
 #ifdef SYSV_RESIZING
@@ -401,6 +401,12 @@
 #endif	/* FAKE_INTERRUPT */
 
 static unsigned sp_table[] = {
+#ifdef B115200
+    B115200, 11520,
+#endif
+#ifdef B57600
+    B57600, 5760,
+#endif
     B9600, 960,
 #ifdef B19200
     B19200, 1920,