diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-19 13:55:23 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-18 20:09:05 +0200 |
commit | 0f5262917fab34b44b43f63946fdf6bb0621875a (patch) | |
tree | 07e449767f00310ef038d786688f891600a01b4d /ProvideCurses.h | |
parent | 29346d05616ce69e5988b3f1257c340f91299602 (diff) |
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'ProvideCurses.h')
-rw-r--r-- | ProvideCurses.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ProvideCurses.h b/ProvideCurses.h new file mode 100644 index 00000000..c35d696d --- /dev/null +++ b/ProvideCurses.h @@ -0,0 +1,34 @@ +#ifndef HEADER_ProvideCurses +#define HEADER_ProvideCurses +/* +htop - RichString.h +(C) 2004,2011 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + + +#include "config.h" + +// IWYU pragma: begin_exports + +#ifdef HAVE_NCURSESW_CURSES_H +#include <ncursesw/curses.h> +#elif defined(HAVE_NCURSES_NCURSES_H) +#include <ncurses/ncurses.h> +#elif defined(HAVE_NCURSES_CURSES_H) +#include <ncurses/curses.h> +#elif defined(HAVE_NCURSES_H) +#include <ncurses.h> +#elif defined(HAVE_CURSES_H) +#include <curses.h> +#endif + +#ifdef HAVE_LIBNCURSESW +#include <wchar.h> +#include <wctype.h> +#endif + +// IWYU pragma: end_exports + +#endif // HEADER_ProvideCurses |