diff options
Diffstat (limited to 'text-utils/more.c')
-rw-r--r-- | text-utils/more.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/text-utils/more.c b/text-utils/more.c index cc53075f6..72dd96bf4 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -190,12 +190,12 @@ static struct { } context, screen_start; extern char PC; /* pad character */ -#ifdef HAVE_TERM_H -# include <term.h> +#if defined(HAVE_NCURSESW_TERM_H) +# include <ncursesw/term.h> #elif defined(HAVE_NCURSES_TERM_H) # include <ncurses/term.h> -#elif defined(HAVE_NCURSESW_TERM_H) -# include <ncursesw/term.h> +#elif defined(HAVE_TERM_H) +# include <term.h> #endif #define TERM_AUTO_RIGHT_MARGIN "am" |