summaryrefslogtreecommitdiff
blob: 6193374359f787c4a4fc33f121b2da2d9c857890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 <ncurses/curses.h>
-#elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H
+#elif HAVE_NCURSES_NCURSES_H
 #include <ncurses/ncurses.h>
+#elif HAVE_NCURSESW_CURSES_H
+#include <ncursesw/ncurses.h>
 #elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H
 #include <ncurses.h>
 #else