summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2023-11-29 17:44:20 +0100
committerBenBE <BenBE@geshi.org>2023-12-26 15:14:19 +0100
commit179aeb01082df9e7c19a285ae4d703a7714f4e2f (patch)
tree4e4c6d0ae1ba68be493025a90286c969e0fd7567 /linux
parent8980d7a896439f923861ea0810b4e4c36b757d4a (diff)
Add includes for config.h as per the discussion in PR #1337
Many thanks to @Explorer09 Kang-Che Sung (宋岡哲). Also add a #error stanza to XUtils.h in case somebody forgets the beautiful mess GNU forces on us.
Diffstat (limited to 'linux')
-rw-r--r--linux/CGroupUtils.c2
-rw-r--r--linux/IOPriorityPanel.c2
-rw-r--r--linux/LinuxProcess.c2
-rw-r--r--linux/PressureStallMeter.c2
-rw-r--r--linux/SELinuxMeter.c2
-rw-r--r--linux/SystemdMeter.c2
6 files changed, 12 insertions, 0 deletions
diff --git a/linux/CGroupUtils.c b/linux/CGroupUtils.c
index 60922c6e..62924542 100644
--- a/linux/CGroupUtils.c
+++ b/linux/CGroupUtils.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/CGroupUtils.h"
#include "XUtils.h"
diff --git a/linux/IOPriorityPanel.c b/linux/IOPriorityPanel.c
index 3e91bc4d..8d0ef7b5 100644
--- a/linux/IOPriorityPanel.c
+++ b/linux/IOPriorityPanel.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/IOPriorityPanel.h"
#include <stdbool.h>
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c
index 4655d91b..8b119fd9 100644
--- a/linux/LinuxProcess.c
+++ b/linux/LinuxProcess.c
@@ -6,6 +6,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/LinuxProcess.h"
#include <math.h>
diff --git a/linux/PressureStallMeter.c b/linux/PressureStallMeter.c
index c4f534ea..f7962475 100644
--- a/linux/PressureStallMeter.c
+++ b/linux/PressureStallMeter.c
@@ -6,6 +6,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/PressureStallMeter.h"
#include <stdbool.h>
diff --git a/linux/SELinuxMeter.c b/linux/SELinuxMeter.c
index c35cb686..323c2a17 100644
--- a/linux/SELinuxMeter.c
+++ b/linux/SELinuxMeter.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/SELinuxMeter.h"
#include "CRT.h"
diff --git a/linux/SystemdMeter.c b/linux/SystemdMeter.c
index ff178e0e..a154d1b8 100644
--- a/linux/SystemdMeter.c
+++ b/linux/SystemdMeter.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "linux/SystemdMeter.h"
#include <dlfcn.h>

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