]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_TERMIOS_H]: Include termios.h.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 19:53:02 +0000 (19:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 19:53:02 +0000 (19:53 +0000)
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.

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