mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #3043: broken NCurses detection.
HAVE_NCURSESW_CURSES_H included the wrong header.
Partially revert 80c8d58003
for lib/tty/tty-ncurses.h.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
61a362f906
commit
9e5d51df95
@ -5,9 +5,11 @@
|
||||
#ifdef USE_NCURSES
|
||||
#ifdef HAVE_NCURSES_CURSES_H
|
||||
#include <ncurses/curses.h>
|
||||
#elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H
|
||||
#elif defined (HAVE_NCURSES_NCURSES_H)
|
||||
#include <ncurses/ncurses.h>
|
||||
#elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H
|
||||
#elif defined (HAVE_NCURSESW_CURSES_H)
|
||||
#include <ncursesw/curses.h>
|
||||
#elif defined (HAVE_NCURSES_HCURSES_H) || defined (HAVE_NCURSES_H)
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#include <curses.h>
|
||||
|
Loading…
Reference in New Issue
Block a user