diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-28 17:04:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-28 17:04:18 +0000 |
commit | 277742f846f6623887cce884a8b7d27d8595f900 (patch) | |
tree | b5ed3355d2354af0ad791731d0a814a5398b65c8 /src/terminfo.c | |
parent | 79aa44f4faebca2b709092f3ce1de776bbc31967 (diff) | |
download | emacs-277742f846f6623887cce884a8b7d27d8595f900.tar.gz |
[HAVE_LIBNCURSES]: Declare ospeed as short, unless NCURSES_OSPEED_T.
Diffstat (limited to 'src/terminfo.c')
-rw-r--r-- | src/terminfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminfo.c b/src/terminfo.c index 870461f5a04..4bb47997507 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -26,6 +26,9 @@ Boston, MA 02111-1307, USA. */ char *UP, *BC, PC; +#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) +short ospeed; +#else #if defined (HAVE_TERMIOS_H) && defined (LINUX) #include <termios.h> /* HJL's version of libc is said to need this on the Alpha. @@ -34,6 +37,7 @@ speed_t ospeed; #else short ospeed; #endif +#endif static buffer[512]; |