Mercurial > emacs
diff src/terminfo.c @ 19023:f7a3c16c49cb
[HAVE_LIBNCURSES]: Declare ospeed as short, unless NCURSES_OSPEED_T.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 28 Jul 1997 17:04:18 +0000 |
parents | a431fbda7f23 |
children | fa9ff387d260 |
line wrap: on
line diff
--- a/src/terminfo.c Mon Jul 28 15:46:57 1997 +0000 +++ b/src/terminfo.c Mon Jul 28 17:04:18 1997 +0000 @@ -26,6 +26,9 @@ 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 @@ #else short ospeed; #endif +#endif static buffer[512];