From 2ac1bc84d71fbfc17b9f0571bc6da93c960eaedf Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 30 May 2017 17:15:37 +0200 Subject: text-utils: use proper paths to term.h Signed-off-by: Karel Zak --- text-utils/more.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'text-utils/more.c') diff --git a/text-utils/more.c b/text-utils/more.c index d4aba11e4..cc53075f6 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -190,7 +190,13 @@ static struct { } context, screen_start; extern char PC; /* pad character */ -#include /* include after */ +#ifdef HAVE_TERM_H +# include +#elif defined(HAVE_NCURSES_TERM_H) +# include +#elif defined(HAVE_NCURSESW_TERM_H) +# include +#endif #define TERM_AUTO_RIGHT_MARGIN "am" #define TERM_CEOL "xhp" -- cgit v1.2.3-55-g7522