Make all required includes explicit

Information as seen by IWYU 0.12 + clang 9 on Linux
This commit is contained in:
Benny Baumann
2020-09-19 13:55:23 +02:00
parent 29346d0561
commit 0f5262917f
97 changed files with 666 additions and 397 deletions

18
CRT.c
View File

@ -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 "config.h" // IWYU pragma: keep
#include "CRT.h"
#include "RichString.h"
#include "XUtils.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))