From: Karl Heuer Date: Tue, 16 Jul 1996 09:03:24 +0000 (+0000) Subject: Test HAVE_TERMIOS rather than the automatically-generated HAVE_TERMIOS_H, X-Git-Tag: emacs-19.34~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c7c9244a9338918ae0a964e067a0e0796fb6ee6;p=emacs.git Test HAVE_TERMIOS rather than the automatically-generated HAVE_TERMIOS_H, in case is present but unusable. --- diff --git a/src/cm.h b/src/cm.h index f5c8157f5e7..0b23bc9eb36 100644 --- a/src/cm.h +++ b/src/cm.h @@ -100,7 +100,7 @@ struct cm extern struct cm Wcm; /* Terminal capabilities */ extern char PC; /* Pad character */ -#ifdef HAVE_TERMIOS_H +#ifdef HAVE_TERMIOS # include extern speed_t ospeed; #else diff --git a/src/sysdep.c b/src/sysdep.c index cf6850c20d1..189fe583edd 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -220,7 +220,7 @@ static int baud_convert[] = }; #endif -#ifdef HAVE_TERMIOS_H +#ifdef HAVE_TERMIOS # include extern speed_t ospeed; #else diff --git a/src/terminfo.c b/src/terminfo.c index eef648b2157..5f2d5e00955 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */ #endif char *UP, *BC, PC; -#ifdef HAVE_TERMIOS_H +#ifdef HAVE_TERMIOS # include speed_t ospeed; #else