changeset 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 959bf7b006ad
children 42cf8e9273ee
files src/cm.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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) */