summaryrefslogtreecommitdiff
path: root/src/cm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 19:53:02 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 19:53:02 +0000
commitcbf8a87391b91554c31ba94222cb461b9dc79572 (patch)
tree07bf520d79c91305e0388829f11ea1daebefdabb /src/cm.h
parent6022d4938e7c848892c962389859960519ae0cf8 (diff)
downloademacs-cbf8a87391b91554c31ba94222cb461b9dc79572.tar.gz
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
Diffstat (limited to 'src/cm.h')
-rw-r--r--src/cm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cm.h b/src/cm.h
index 80e945b4607..336a3308fd8 100644
--- a/src/cm.h
+++ b/src/cm.h
@@ -100,7 +100,13 @@ struct cm
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