aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2001-02-26 12:17:18 +0000
committerGerd Moellmann <[email protected]>2001-02-26 12:17:18 +0000
commitda024910ccdb5c85a9fde5e42d24199bac98d092 (patch)
tree7648d3779f49f73cdecb95f1d28271ebd39eb502 /src
parent124350021fff0fe5d3dce97da2024cf9d26dcf6e (diff)
Check HAVE_TERM_H before including term.h.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 2823b79c7b..7a28975803 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