# HG changeset patch # User Karl Heuer # Date 837467890 0 # Node ID ebef42357c5d9d141746fd8e3af0f0a1c7d61abe # Parent f912ad2038411befb991a024638b3b0895171ec6 Use . [HAVE_TERMIOS_H]: Declare ospeed as speed_t. [USG]: Include . diff -r f912ad203841 -r ebef42357c5d src/terminfo.c --- a/src/terminfo.c Mon Jul 15 21:53:24 1996 +0000 +++ b/src/terminfo.c Mon Jul 15 21:58:10 1996 +0000 @@ -22,8 +22,19 @@ 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];