diff src/cm.h @ 18659:b6ced5dad84b

(ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Jul 1997 06:42:35 +0000
parents 9e73857f8855
children a431fbda7f23
line wrap: on
line diff
--- a/src/cm.h	Mon Jul 07 05:35:53 1997 +0000
+++ b/src/cm.h	Mon Jul 07 06:42:35 1997 +0000
@@ -100,9 +100,11 @@
 
 extern struct cm Wcm;		/* Terminal capabilities */
 extern char PC;			/* Pad character */
-#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.  */
+/* 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.  */
 extern speed_t ospeed;
 #else
 extern short ospeed;		/* Output speed (from sg_ospeed) */