# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 842385182 0
# Node ID a9160d6d9ac76d20a2d43c0e78c27114201fd771
# Parent  6c9c298680da0421eebbb2d9de474d2cf06e0215
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.

diff -r 6c9c298680da -r a9160d6d9ac7 src/cm.h
--- a/src/cm.h	Tue Sep 10 19:52:09 1996 +0000
+++ b/src/cm.h	Tue Sep 10 19:53:02 1996 +0000
@@ -100,7 +100,13 @@
 
 extern struct cm Wcm;		/* Terminal capabilities */
 extern char PC;			/* Pad character */
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+/* HJL's version of libc is said to need this on the Alpha.  */
+speed_t ospeed;
+#else
 extern short ospeed;		/* Output speed (from sg_ospeed) */
+#endif
 
 /* Shorthand */
 #ifndef NoCMShortHand