diff options
Diffstat (limited to 'text-utils/pg.c')
-rw-r--r-- | text-utils/pg.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/text-utils/pg.c b/text-utils/pg.c index bc485e2fe..1b9b8d7dd 100644 --- a/text-utils/pg.c +++ b/text-utils/pg.c @@ -59,22 +59,20 @@ #include <signal.h> #include <setjmp.h> -#ifdef HAVE_NCURSESW_H -# include <ncursesw.h> -#elif defined(HAVE_NCURSES_H) -# include <ncurses.h> -#elif defined(HAVE_NCURSESW_NCURSES_H) +#if defined(HAVE_NCURSESW_NCURSES_H) # include <ncursesw/ncurses.h> #elif defined(HAVE_NCURSES_NCURSES_H) # include <ncurses/ncurses.h> +#elif defined(HAVE_NCURSES_H) +# include <ncurses.h> #endif -#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 #include "nls.h" |