diff src/sysdep.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 49274b3596a7
line wrap: on
line diff
--- a/src/sysdep.c	Mon Jul 28 15:46:57 1997 +0000
+++ b/src/sysdep.c	Mon Jul 28 17:04:18 1997 +0000
@@ -226,6 +226,9 @@
   };
 #endif
 
+#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T)
+extern 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.
@@ -234,6 +237,7 @@
 #else
 extern short ospeed;
 #endif
+#endif
 
 /* The file descriptor for Emacs's input terminal.
    Under Unix, this is normally zero except when using X;