summaryrefslogtreecommitdiffstats
path: root/CRT.c
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 /CRT.c
parent29346d05616ce69e5988b3f1257c340f91299602 (diff)
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/CRT.c b/CRT.c
index 2f9eb2b6..d3afd0ec 100644
--- a/CRT.c
+++ b/CRT.c
@@ -5,28 +5,26 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-#include "config.h"
-#include "CRT.h"
+#include "config.h" // IWYU pragma: keep
-#include "RichString.h"
-#include "XUtils.h"
+#include "CRT.h"
-#include <stdio.h>
#include <errno.h>
+#include <langinfo.h>
+#include <locale.h>
#include <signal.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <locale.h>
-#include <langinfo.h>
#include <unistd.h>
+#include "ProvideCurses.h"
+#include "XUtils.h"
+
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif
-#ifdef HAVE_SETUID_ENABLED
-#include <sys/types.h>
-#endif
#define ColorIndex(i,j) ((7-(i))*8+(j))

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