Commit cbf8a873 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[HAVE_TERMIOS_H]: Include termios.h.

(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
parent 6022d493
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment