tty-ncurses.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. #ifndef MC__TTY_NCURSES_H
  2. #define MC__TTY_NCURSES_H
  3. #ifdef USE_NCURSES
  4. #ifdef HAVE_NCURSES_CURSES_H
  5. #include <ncurses/curses.h>
  6. #elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H
  7. #include <ncurses/ncurses.h>
  8. #elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H
  9. #include <ncurses.h>
  10. #else
  11. #include <curses.h>
  12. #endif
  13. #endif /* USE_NCURSES */
  14. #ifdef USE_NCURSESW
  15. #include <ncursesw/curses.h>
  16. #endif /* USE_NCURSESW */
  17. /*** typedefs(not structures) and defined constants **********************************************/
  18. /*** enums ***************************************************************************************/
  19. /*** structures declarations (and typedefs of structures)*****************************************/
  20. /*** global variables defined in .c file *********************************************************/
  21. /*** declarations of public functions ************************************************************/
  22. /*** inline functions ****************************************************************************/
  23. #endif /* MC_TTY_NCURSES_H */