diff src/terminfo.c @ 18660:42cf8e9273ee

(ospeed): Define as short, unless HAVE_TERMIOS_H and LINUX.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Jul 1997 06:48:01 +0000
parents 4580dcf4e0d1
children a431fbda7f23
line wrap: on
line diff
--- a/src/terminfo.c	Mon Jul 07 06:42:35 1997 +0000
+++ b/src/terminfo.c	Mon Jul 07 06:48:01 1997 +0000
@@ -26,8 +26,10 @@
 
 char *UP, *BC, PC;
 
-#ifdef HAVE_TERMIOS_H
+#if defined (HAVE_TERMIOS_H) || defined (LINUX)
 #include <termios.h>
+/* HJL's version of libc is said to need this on the Alpha.
+   On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short.  */
 speed_t ospeed;
 #else
 short ospeed;