diff src/terminfo.c @ 29252:c8f4d06938b9

(ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 26 May 2000 15:52:33 +0000
parents 49631c494c10
children f7e5e797d015
line wrap: on
line diff
--- a/src/terminfo.c	Fri May 26 15:52:01 2000 +0000
+++ b/src/terminfo.c	Fri May 26 15:52:33 2000 +0000
@@ -27,6 +27,10 @@
 
 char *UP, *BC, PC;
 
+#ifdef HAVE_SPEED_T
+#include <termios.h>
+extern speed_t ospeed;
+#else
 #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
 short ospeed;
 #else
@@ -39,6 +43,7 @@
 short ospeed;
 #endif
 #endif
+#endif
 
 /* Interface to curses/terminfo library.
    Turns out that all of the terminfo-level routines look