ProvideCurses.h 729 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef HEADER_ProvideCurses
  2. #define HEADER_ProvideCurses
  3. /*
  4. htop - ProvideCurses.h
  5. (C) 2004,2011 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include "config.h" // IWYU pragma: keep
  10. // IWYU pragma: begin_exports
  11. #if defined(HAVE_NCURSESW_CURSES_H)
  12. #include <ncursesw/curses.h>
  13. #elif defined(HAVE_NCURSES_NCURSES_H)
  14. #include <ncurses/ncurses.h>
  15. #elif defined(HAVE_NCURSES_CURSES_H)
  16. #include <ncurses/curses.h>
  17. #elif defined(HAVE_NCURSES_H)
  18. #include <ncurses.h>
  19. #elif defined(HAVE_CURSES_H)
  20. #include <curses.h>
  21. #endif
  22. #ifdef HAVE_LIBNCURSESW
  23. #include <wchar.h>
  24. #include <wctype.h>
  25. #endif
  26. // IWYU pragma: end_exports
  27. #endif // HEADER_ProvideCurses