changeset 29437:979a75b2755b

Conditionally include term.h.
author Dave Love <fx@gnu.org>
date Mon, 05 Jun 2000 14:22:26 +0000
parents d0b424336374
children 8c825a8566f5
files src/dispnew.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Jun 05 14:20:20 2000 +0000
+++ b/src/dispnew.c	Mon Jun 05 14:22:26 2000 +0000
@@ -100,6 +100,9 @@
 #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.  */