$NetBSD: patch-ba,v 1.2 1999/08/22 22:55:46 kim Exp $

--- term.c.orig	Wed Jun  9 14:19:01 1999
+++ term.c	Sun Aug 22 18:28:48 1999
@@ -47,9 +47,9 @@
 #  include <termio.h>
 # endif	/* USE_TERMCAP */
 #else
-#ifndef __FreeBSD__
+#ifndef HAVE_TERMIOS_H
 # include <sgtty.h>
-#endif	/* __FreeBSD__ */
+#endif	/* HAVE_TERMIOS_H */
 #endif
 
 /* SYSV curses.h clash */
@@ -413,6 +413,12 @@
 #endif	/* FAKE_INTERRUPT */
 
 static unsigned sp_table[] = {
+#ifdef B115200
+    B115200, 11520,
+#endif
+#ifdef B57600
+    B57600, 5760,
+#endif
     B9600, 960,
 #ifdef B19200
     B19200, 1920,
