From 0f5262917fab34b44b43f63946fdf6bb0621875a Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 19 Sep 2020 13:55:23 +0200 Subject: Make all required includes explicit Information as seen by IWYU 0.12 + clang 9 on Linux --- RichString.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'RichString.h') diff --git a/RichString.h b/RichString.h index 8ba0d6ed..2e35b827 100644 --- a/RichString.h +++ b/RichString.h @@ -7,26 +7,10 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ - #include "config.h" -#include - -#include -#ifdef HAVE_NCURSESW_CURSES_H -#include -#elif defined(HAVE_NCURSES_NCURSES_H) -#include -#elif defined(HAVE_NCURSES_CURSES_H) -#include -#elif defined(HAVE_NCURSES_H) -#include -#elif defined(HAVE_CURSES_H) -#include -#endif -#ifdef HAVE_LIBNCURSESW -#include -#endif +#include "ProvideCurses.h" + #define RichString_size(this) ((this)->chlen) #define RichString_sizeVal(this) ((this).chlen) -- cgit v1.2.3