summaryrefslogtreecommitdiffstats
path: root/netbsd
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 /netbsd
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 'netbsd')
-rw-r--r--netbsd/NetBSDMachine.c2
-rw-r--r--netbsd/NetBSDProcess.c2
-rw-r--r--netbsd/NetBSDProcessTable.c2
-rw-r--r--netbsd/Platform.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/netbsd/NetBSDMachine.c b/netbsd/NetBSDMachine.c
index 245b8231..9c04cdd3 100644
--- a/netbsd/NetBSDMachine.c
+++ b/netbsd/NetBSDMachine.c
@@ -8,6 +8,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 "netbsd/NetBSDMachine.h"
#include <kvm.h>
diff --git a/netbsd/NetBSDProcess.c b/netbsd/NetBSDProcess.c
index 605b56c8..4166f962 100644
--- a/netbsd/NetBSDProcess.c
+++ b/netbsd/NetBSDProcess.c
@@ -8,6 +8,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 "netbsd/NetBSDProcess.h"
#include <stdlib.h>
diff --git a/netbsd/NetBSDProcessTable.c b/netbsd/NetBSDProcessTable.c
index 885a2edd..6fa5bfea 100644
--- a/netbsd/NetBSDProcessTable.c
+++ b/netbsd/NetBSDProcessTable.c
@@ -8,6 +8,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 "netbsd/NetBSDProcessTable.h"
#include <kvm.h>
diff --git a/netbsd/Platform.c b/netbsd/Platform.c
index 5b09ed16..f458c239 100644
--- a/netbsd/Platform.c
+++ b/netbsd/Platform.c
@@ -9,6 +9,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 "netbsd/Platform.h"
#include <errno.h>

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