From 179aeb01082df9e7c19a285ae4d703a7714f4e2f Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Wed, 29 Nov 2023 17:44:20 +0100 Subject: Add includes for config.h as per the discussion in PR #1337 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- netbsd/NetBSDMachine.c | 2 ++ netbsd/NetBSDProcess.c | 2 ++ netbsd/NetBSDProcessTable.c | 2 ++ netbsd/Platform.c | 2 ++ 4 files changed, 8 insertions(+) (limited to 'netbsd') 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 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 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 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 -- cgit v1.2.3