summaryrefslogtreecommitdiff
path: root/src/cm.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 21:53:24 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 21:53:24 +0000
commit9f2655f5f967b70e8d9ded9274387bd07c88f356 (patch)
tree61353ab7063b2afee9706cdb801e58bad890cc6c /src/cm.h
parentc1fc797324cf3a7ae95c92b9248df081f2f4dd88 (diff)
downloademacs-9f2655f5f967b70e8d9ded9274387bd07c88f356.tar.gz
[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
Diffstat (limited to 'src/cm.h')
-rw-r--r--src/cm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cm.h b/src/cm.h
index 80e945b4607..f5c8157f5e7 100644
--- a/src/cm.h
+++ b/src/cm.h
@@ -100,7 +100,12 @@ struct cm
extern struct cm Wcm; /* Terminal capabilities */
extern char PC; /* Pad character */
+#ifdef HAVE_TERMIOS_H
+# include <termios.h>
+extern speed_t ospeed;
+#else
extern short ospeed; /* Output speed (from sg_ospeed) */
+#endif
/* Shorthand */
#ifndef NoCMShortHand