aboutsummaryrefslogtreecommitdiffstats
path: root/src/terminfo.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-26 15:52:33 +0000
committerGerd Moellmann2000-05-26 15:52:33 +0000
commitf0d21750932435a810749ddfa04f798dfd5636dc (patch)
tree098eadce822ff54d5808de644ea889c393ad70fa /src/terminfo.c
parentab810648cf62ee4aa8e79c262b8171abfce38a23 (diff)
downloademacs-f0d21750932435a810749ddfa04f798dfd5636dc.tar.gz
emacs-f0d21750932435a810749ddfa04f798dfd5636dc.zip
(ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'.
Diffstat (limited to 'src/terminfo.c')
-rw-r--r--src/terminfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/terminfo.c b/src/terminfo.c
index 3d021edce44..bfb8b62674a 100644
--- a/src/terminfo.c
+++ b/src/terminfo.c
@@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA. */
27 27
28char *UP, *BC, PC; 28char *UP, *BC, PC;
29 29
30#ifdef HAVE_SPEED_T
31#include <termios.h>
32extern speed_t ospeed;
33#else
30#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) 34#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
31short ospeed; 35short ospeed;
32#else 36#else
@@ -39,6 +43,7 @@ speed_t ospeed;
39short ospeed; 43short ospeed;
40#endif 44#endif
41#endif 45#endif
46#endif
42 47
43/* Interface to curses/terminfo library. 48/* Interface to curses/terminfo library.
44 Turns out that all of the terminfo-level routines look 49 Turns out that all of the terminfo-level routines look