1 
2 #ifndef MC__TTY_NCURSES_H
3 #define MC__TTY_NCURSES_H
4 
5 /* for cchar_t, getcchar(), setcchar() */
6 #ifndef _XOPEN_SOURCE_EXTENDED
7 #define _XOPEN_SOURCE_EXTENDED
8 #endif
9 
10 #ifdef USE_NCURSES
11 #ifdef HAVE_NCURSES_CURSES_H
12 #include <ncurses/curses.h>
13 #elif defined (HAVE_NCURSES_NCURSES_H)
14 #include <ncurses/ncurses.h>
15 #elif defined (HAVE_NCURSESW_CURSES_H)
16 #include <ncursesw/curses.h>
17 #elif defined (HAVE_NCURSES_HCURSES_H) || defined (HAVE_NCURSES_H)
18 #include <ncurses.h>
19 #else
20 #include <curses.h>
21 #endif
22 #endif /* USE_NCURSES */
23 
24 #ifdef USE_NCURSESW
25 #include <ncursesw/curses.h>
26 #endif /* USE_NCURSESW */
27 
28 /* netbsd-libcurses doesn't define NCURSES_CONST */
29 #ifndef NCURSES_CONST
30 #define NCURSES_CONST const
31 #endif
32 
33 /*** typedefs(not structures) and defined constants **********************************************/
34 
35 /*** enums ***************************************************************************************/
36 
37 /*** structures declarations (and typedefs of structures)*****************************************/
38 
39 /*** global variables defined in .c file *********************************************************/
40 
41 /*** declarations of public functions ************************************************************/
42 
43 /*** inline functions ****************************************************************************/
44 
45 #endif /* MC_TTY_NCURSES_H */
46