changeset 16154:a9160d6d9ac7

[HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 19:53:02 +0000
parents 6c9c298680da
children ddc7e0142964
files src/cm.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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