From cbf8a87391b91554c31ba94222cb461b9dc79572 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 10 Sep 1996 19:53:02 +0000 Subject: [PATCH] [HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t. --- src/cm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cm.h b/src/cm.h index 80e945b4607..336a3308fd8 100644 --- 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 +/* 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 -- 2.39.2