summaryrefslogtreecommitdiff
path: root/src/terminfo.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-16 09:03:24 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-16 09:03:24 +0000
commit6c7c9244a9338918ae0a964e067a0e0796fb6ee6 (patch)
treeaee3b27f334f7f28c68fa3012311ebefb6b20577 /src/terminfo.c
parentaad2a123ca33de4c1acbf8ccc5b351d0484343d9 (diff)
downloademacs-6c7c9244a9338918ae0a964e067a0e0796fb6ee6.tar.gz
Test HAVE_TERMIOS rather than the automatically-generated HAVE_TERMIOS_H,
in case <termios.h> is present but unusable.
Diffstat (limited to 'src/terminfo.c')
-rw-r--r--src/terminfo.c2
1 files changed, 1 insertions, 1 deletions
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 <termios.h>
speed_t ospeed;
#else