mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
9e5d51df95
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>
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
|
|
#ifndef MC__TTY_NCURSES_H
|
|
#define MC__TTY_NCURSES_H
|
|
|
|
#ifdef USE_NCURSES
|
|
#ifdef HAVE_NCURSES_CURSES_H
|
|
#include <ncurses/curses.h>
|
|
#elif defined (HAVE_NCURSES_NCURSES_H)
|
|
#include <ncurses/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>
|
|
#endif
|
|
#endif /* USE_NCURSES */
|
|
|
|
#ifdef USE_NCURSESW
|
|
#include <ncursesw/curses.h>
|
|
#endif /* USE_NCURSESW */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC_TTY_NCURSES_H */
|