summaryrefslogtreecommitdiffstats
path: root/RichString.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-09-19 13:55:23 +0200
committerBenny Baumann <BenBE@geshi.org>2020-10-18 20:09:05 +0200
commit0f5262917fab34b44b43f63946fdf6bb0621875a (patch)
tree07e449767f00310ef038d786688f891600a01b4d /RichString.h
parent29346d05616ce69e5988b3f1257c340f91299602 (diff)
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'RichString.h')
-rw-r--r--RichString.h20
1 files changed, 2 insertions, 18 deletions
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 <ctype.h>
-
-#include <assert.h>
-#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 <wctype.h>
-#endif
+#include "ProvideCurses.h"
+
#define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen)

© 2014-2024 Faster IT GmbH | imprint | privacy policy