diff src/cm.h @ 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 73d30d93f2b6
line wrap: on
line diff
--- a/src/cm.h	Mon Jul 28 15:46:57 1997 +0000
+++ b/src/cm.h	Mon Jul 28 17:04:18 1997 +0000
@@ -101,6 +101,9 @@
 extern struct cm Wcm;		/* Terminal capabilities */
 extern char PC;			/* Pad character */
 
+#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.
@@ -109,6 +112,7 @@
 #else
 extern short ospeed;		/* Output speed (from sg_ospeed) */
 #endif
+#endif
 
 /* Shorthand */
 #ifndef NoCMShortHand