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
};
#endif
-extern short ospeed;
+#ifdef HAVE_TERMIOS_H
+# include <termios.h>
+ extern speed_t ospeed;
+#else
+ extern short ospeed;
+#endif
/* The file descriptor for Emacs's input terminal.
Under Unix, this is normally zero except when using X;