summaryrefslogtreecommitdiff
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
commit3ca09a2931ae94ca9ceaa4fcf03dd95ad90c49df (patch)
treea1404ae781b8d0468f3e45e3c717837c7508c6ab
parenta174c2ea47a37ba7537314ef6fbd99395051a0b7 (diff)
downloademacs-3ca09a2931ae94ca9ceaa4fcf03dd95ad90c49df.tar.gz
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
-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