summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-02-26 12:17:18 +0000
committerGerd Moellmann <gerd@gnu.org>2001-02-26 12:17:18 +0000
commit2e328da4ed901ff08ec3afe431002a78f5c17b14 (patch)
tree14feee4e8e772961d62d67b09afd8ff5d2c7079e /src/dispnew.c
parentc0fdf00623c0cfcc46ed4fb4bc573927ddf4cb1c (diff)
downloademacs-2e328da4ed901ff08ec3afe431002a78f5c17b14.tar.gz
Check HAVE_TERM_H before including term.h.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 2823b79c7b2..7a289758032 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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 @@ Boston, MA 02111-1307, USA. */
#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