From 4d34268b2dd0a1056a127293338d2acdf2ca56bc Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 15 Jul 1996 21:58:10 +0000 Subject: Use . [HAVE_TERMIOS_H]: Declare ospeed as speed_t. [USG]: Include . --- src/terminfo.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/terminfo.c b/src/terminfo.c index 8ce87960f03..eef648b2157 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -22,8 +22,19 @@ Boston, MA 02111-1307, USA. */ so that we do not need to conditionalize the places in Emacs that set them. */ +#include + +#ifdef USG +# include +#endif + char *UP, *BC, PC; -short ospeed; +#ifdef HAVE_TERMIOS_H +# include + speed_t ospeed; +#else + short ospeed; +#endif static buffer[512]; -- cgit v1.2.1