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 /* for tgetent */ +#endif /* Structure to pass dimensions around. Used for character bounding boxes, glyph matrix dimensions and alike. */