From 3947ca4ca9737d830f54658ef353f5626c0d0282 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 31 May 2017 11:01:46 +0200 Subject: build-sys: ncurses headers cleanup * assume ncursesw headers in ncursesw/ directory only * prefer long paths, and should be last possibility * fix typos Signed-off-by: Karel Zak --- text-utils/more.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'text-utils/more.c') 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 +#if defined(HAVE_NCURSESW_TERM_H) +# include #elif defined(HAVE_NCURSES_TERM_H) # include -#elif defined(HAVE_NCURSESW_TERM_H) -# include +#elif defined(HAVE_TERM_H) +# include #endif #define TERM_AUTO_RIGHT_MARGIN "am" -- cgit v1.2.3-55-g7522