aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-02-26 12:17:18 +0000
committerGerd Moellmann2001-02-26 12:17:18 +0000
commitda024910ccdb5c85a9fde5e42d24199bac98d092 (patch)
tree7648d3779f49f73cdecb95f1d28271ebd39eb502
parent124350021fff0fe5d3dce97da2024cf9d26dcf6e (diff)
downloademacs-da024910ccdb5c85a9fde5e42d24199bac98d092.tar.gz
emacs-da024910ccdb5c85a9fde5e42d24199bac98d092.zip
Check HAVE_TERM_H before including term.h.
-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 @@
1/* Updating of data structures for redisplay. 1/* Updating of data structures for redisplay.
2 Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000 2 Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000, 2001
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */
104#endif 104#endif
105#endif /* not __GNU_LIBRARY__ */ 105#endif /* not __GNU_LIBRARY__ */
106 106
107#if defined (LINUX) && defined (HAVE_LIBNCURSES) 107#if defined(HAVE_TERM_H) && defined (LINUX) && defined (HAVE_LIBNCURSES)
108#include <term.h> /* for tgetent */ 108#include <term.h> /* for tgetent */
109#endif 109#endif
110 110