summaryrefslogtreecommitdiff
path: root/src/terminfo.c
diff options
context:
space:
mode:
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 ae015b9b6ad..870461f5a04 100644
--- a/src/terminfo.c
+++ b/src/terminfo.c
@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
char *UP, *BC, PC;
-#if defined (HAVE_TERMIOS_H) || defined (LINUX)
+#if defined (HAVE_TERMIOS_H) && defined (LINUX)
#include <termios.h>
/* 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. */