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
commit253b355b1e8932ddfc96296e0ce28bd4119d8881 (patch)
treeb9351155c3ea11b4b3099cd7ddf6eee6556d14ba /src/terminfo.c
parent449e7640bb1c184ee00a5b47567ff4f16754a77d (diff)
downloademacs-253b355b1e8932ddfc96296e0ce28bd4119d8881.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