# HG changeset patch # User Richard M. Stallman # Date 868993124 0 # Node ID a431fbda7f238e1484de19564de23b9de52ec783 # Parent 75b2e402c45dde5350677f8d900ec9518fb4bf18 Fix previous change. diff -r 75b2e402c45d -r a431fbda7f23 src/cm.h --- a/src/cm.h Tue Jul 15 18:51:38 1997 +0000 +++ b/src/cm.h Tue Jul 15 18:58:44 1997 +0000 @@ -101,7 +101,7 @@ extern struct cm Wcm; /* Terminal capabilities */ extern char PC; /* Pad character */ -#if defined (HAVE_TERMIOS_H) || defined (LINUX) +#if defined (HAVE_TERMIOS_H) && defined (LINUX) #include /* HJL's version of libc is said to need this on the Alpha. On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ diff -r 75b2e402c45d -r a431fbda7f23 src/sysdep.c --- a/src/sysdep.c Tue Jul 15 18:51:38 1997 +0000 +++ b/src/sysdep.c Tue Jul 15 18:58:44 1997 +0000 @@ -27,10 +27,6 @@ #include "blockinput.h" #undef NULL -#ifdef HAVE_TERMIOS_H -#include -#endif - #define min(x,y) ((x) > (y) ? (y) : (x)) /* In this file, open, read and write refer to the system calls, @@ -230,7 +226,8 @@ }; #endif -#if defined (HAVE_TERMIOS_H) || defined (LINUX) +#if defined (HAVE_TERMIOS_H) && defined (LINUX) +#include /* HJL's version of libc is said to need this on the Alpha. On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ extern speed_t ospeed; diff -r 75b2e402c45d -r a431fbda7f23 src/terminfo.c --- a/src/terminfo.c Tue Jul 15 18:51:38 1997 +0000 +++ b/src/terminfo.c Tue Jul 15 18:58:44 1997 +0000 @@ -26,7 +26,7 @@ char *UP, *BC, PC; -#if defined (HAVE_TERMIOS_H) || defined (LINUX) +#if defined (HAVE_TERMIOS_H) && defined (LINUX) #include /* HJL's version of libc is said to need this on the Alpha. On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */