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 --- Process.c | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'Process.c') diff --git a/Process.c b/Process.c index 147caee6..6d9101a7 100644 --- a/Process.c +++ b/Process.c @@ -6,36 +6,35 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include "config.h" // IWYU pragma: keep + #include "Process.h" -#include "Settings.h" -#include "config.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "CRT.h" -#include "RichString.h" #include "Platform.h" +#include "RichString.h" +#include "Settings.h" #include "XUtils.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef MAJOR_IN_MKDEV +#if defined(MAJOR_IN_MKDEV) #include #elif defined(MAJOR_IN_SYSMACROS) #include #endif + static int Process_getuid = -1; char Process_pidFormat[20] = "%7d "; -- cgit v1.2.3