diff -urp tin-2.3.1_r4/include/tcurses.h tin-2.3.1_r5/include/tcurses.h --- tin-2.3.1_r4/include/tcurses.h 2014-12-24 09:42:42.000000000 +0100 +++ tin-2.3.1_r5/include/tcurses.h 2015-08-09 14:15:49.000000000 +0200 @@ -50,9 +50,9 @@ # endif /* _XOPEN_SOURCE_EXTENDED */ # include /* we need a recent ncursesw for wide-char */ -# if (NCURSES_VERSION_MAJOR >= 5) && (NCURSES_VERSION_MINOR >= 3) +# if (NCURSES_VERSION_MAJOR == 5) && (NCURSES_VERSION_MINOR >= 3) || (NCURSES_VERSION_MAJOR >= 6) # define HAVE_NCURSESW 1 -# endif /* NCURSES_VERSION_MAJOR >= 5 && NCURSES_VERSION_MINOR >=3 */ +# endif /* NCURSES_VERSION_MAJOR == 5 && NCURSES_VERSION_MINOR >=3 || NCURSES_VERSION_MAJOR >= 6 */ # else # if defined(HAVE_NCURSES_H) # include