]> code.delx.au - gnu-emacs/blobdiff - src/cm.h
(set_properties, add_properties, remove_properties):
[gnu-emacs] / src / cm.h
index 80e945b46073adcd91a78e9ad9dd941d1893c1ed..336a3308fd8677744b3bc8aee4c273cbd2baab57 100644 (file)
--- 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