Merge from vendor branch TNF:
[pkgsrcv2.git] / news / nn / patches / patch-ba
1 $NetBSD$
2
3 --- term.c.orig Wed Jun  9 14:19:01 1999
4 +++ term.c      Sun Aug 22 18:28:48 1999
5 @@ -47,9 +47,9 @@
6  #  include <termio.h>
7  # endif        /* USE_TERMCAP */
8  #else
9 -#ifndef __FreeBSD__
10 +#ifndef HAVE_TERMIOS_H
11  # include <sgtty.h>
12 -#endif /* __FreeBSD__ */
13 +#endif /* HAVE_TERMIOS_H */
14  #endif
15  
16  /* SYSV curses.h clash */
17 @@ -413,6 +413,12 @@
18  #endif /* FAKE_INTERRUPT */
19  
20  static unsigned sp_table[] = {
21 +#ifdef B115200
22 +    B115200, 11520,
23 +#endif
24 +#ifdef B57600
25 +    B57600, 5760,
26 +#endif
27      B9600, 960,
28  #ifdef B19200
29      B19200, 1920,