summaryrefslogtreecommitdiffstats
path: root/pcp
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 /pcp
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 'pcp')
-rw-r--r--pcp/InDomTable.c2
-rw-r--r--pcp/PCPDynamicScreen.c2
-rw-r--r--pcp/PCPProcess.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/pcp/InDomTable.c b/pcp/InDomTable.c
index 40a22f1d..68563fb9 100644
--- a/pcp/InDomTable.c
+++ b/pcp/InDomTable.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 "InDomTable.h"
#include <assert.h>
diff --git a/pcp/PCPDynamicScreen.c b/pcp/PCPDynamicScreen.c
index a4622e34..a66d9dce 100644
--- a/pcp/PCPDynamicScreen.c
+++ b/pcp/PCPDynamicScreen.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 "pcp/PCPDynamicScreen.h"
#include <ctype.h>
diff --git a/pcp/PCPProcess.c b/pcp/PCPProcess.c
index df18b6f2..2ea4e5c6 100644
--- a/pcp/PCPProcess.c
+++ b/pcp/PCPProcess.c
@@ -7,6 +7,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 "pcp/PCPProcess.h"
#include <math.h>