diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-19 13:55:23 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-18 20:09:05 +0200 |
commit | 0f5262917fab34b44b43f63946fdf6bb0621875a (patch) | |
tree | 07e449767f00310ef038d786688f891600a01b4d /Process.c | |
parent | 29346d05616ce69e5988b3f1257c340f91299602 (diff) |
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 35 |
1 files changed, 17 insertions, 18 deletions
@@ -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 <assert.h> +#include <limits.h> +#include <math.h> +#include <signal.h> +#include <stdbool.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <time.h> +#include <unistd.h> +#include <sys/resource.h> #include "CRT.h" -#include "RichString.h" #include "Platform.h" +#include "RichString.h" +#include "Settings.h" #include "XUtils.h" -#include <stdio.h> -#include <sys/time.h> -#include <sys/resource.h> -#include <sys/param.h> -#include <sys/stat.h> -#include <unistd.h> -#include <stdlib.h> -#include <signal.h> -#include <string.h> -#include <stdbool.h> -#include <pwd.h> -#include <time.h> -#include <assert.h> -#include <math.h> -#ifdef MAJOR_IN_MKDEV +#if defined(MAJOR_IN_MKDEV) #include <sys/mkdev.h> #elif defined(MAJOR_IN_SYSMACROS) #include <sys/sysmacros.h> #endif + static int Process_getuid = -1; char Process_pidFormat[20] = "%7d "; |