changeset 36392:88b90fa71d23

Check HAVE_TERM_H before including term.h.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 26 Feb 2001 12:17:18 +0000
parents bf3abd3aed48
children 05bbe56d446f
files src/dispnew.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Feb 26 12:08:29 2001 +0000
+++ b/src/dispnew.c	Mon Feb 26 12:17:18 2001 +0000
@@ -1,5 +1,5 @@
 /* Updating of data structures for redisplay.
-   Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000
+   Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000, 2001
        Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -104,7 +104,7 @@
 #endif
 #endif /* not __GNU_LIBRARY__ */
 
-#if defined (LINUX) && defined (HAVE_LIBNCURSES)
+#if defined(HAVE_TERM_H) && defined (LINUX) && defined (HAVE_LIBNCURSES)
 #include <term.h>		/* for tgetent */
 #endif