summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-06-05 14:22:26 +0000
committerDave Love <fx@gnu.org>2000-06-05 14:22:26 +0000
commitfa0ec9f42e014682c810126d7025db2c219fd1c1 (patch)
tree93929686a299e95edeace39956e171e32547ee5f /src
parentf3cc12611b13d07043887b2c1df08ce1bc1c137a (diff)
downloademacs-fa0ec9f42e014682c810126d7025db2c219fd1c1.tar.gz
Conditionally include term.h.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index e65726c5665..c114849bb07 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -100,6 +100,9 @@ Boston, MA 02111-1307, USA. */
#endif
#endif /* not __GNU_LIBRARY__ */
+#if defined (LINUX) && defined (HAVE_LIBNCURSES)
+#include <term.h> /* for tgetent */
+#endif
/* Structure to pass dimensions around. Used for character bounding
boxes, glyph matrix dimensions and alike. */