ncurses detection fix https://bugs.gentoo.org/show_bug.cgi?id=476932 --- mc-4.8.9.orig/lib/tty/tty-ncurses.h +++ mc-4.8.9/lib/tty/tty-ncurses.h @@ -5,8 +5,10 @@ #ifdef USE_NCURSES #ifdef HAVE_NCURSES_CURSES_H #include -#elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H +#elif HAVE_NCURSES_NCURSES_H #include +#elif HAVE_NCURSESW_CURSES_H +#include #elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H #include #else