(displayed_window_lines): Take empty lines at
[bpt/emacs.git] / src / terminfo.c
index 3d021ed..eed22af 100644 (file)
@@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA.  */
 
 char *UP, *BC, PC;
 
+#ifdef HAVE_SPEED_T
+#include <termios.h>
+speed_t ospeed;
+#else
 #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
 short ospeed;
 #else
@@ -39,6 +43,7 @@ speed_t ospeed;
 short ospeed;
 #endif
 #endif
+#endif
 
 /* Interface to curses/terminfo library.
    Turns out that all of the terminfo-level routines look