diff options
author | Daniel Lange <DLange@git.local> | 2023-11-29 17:44:20 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-12-26 15:14:19 +0100 |
commit | 179aeb01082df9e7c19a285ae4d703a7714f4e2f (patch) | |
tree | 4e4c6d0ae1ba68be493025a90286c969e0fd7567 /openbsd | |
parent | 8980d7a896439f923861ea0810b4e4c36b757d4a (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 'openbsd')
-rw-r--r-- | openbsd/OpenBSDMachine.c | 2 | ||||
-rw-r--r-- | openbsd/OpenBSDProcess.c | 2 | ||||
-rw-r--r-- | openbsd/OpenBSDProcessTable.c | 2 | ||||
-rw-r--r-- | openbsd/Platform.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/openbsd/OpenBSDMachine.c b/openbsd/OpenBSDMachine.c index c4b6e47e..0edb90be 100644 --- a/openbsd/OpenBSDMachine.c +++ b/openbsd/OpenBSDMachine.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 "openbsd/OpenBSDMachine.h" #include <kvm.h> diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c index c54a1763..b1958a15 100644 --- a/openbsd/OpenBSDProcess.c +++ b/openbsd/OpenBSDProcess.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 "openbsd/OpenBSDProcess.h" #include <stdlib.h> diff --git a/openbsd/OpenBSDProcessTable.c b/openbsd/OpenBSDProcessTable.c index 0b016fbb..26c6c52b 100644 --- a/openbsd/OpenBSDProcessTable.c +++ b/openbsd/OpenBSDProcessTable.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 "openbsd/OpenBSDProcessTable.h" #include <kvm.h> diff --git a/openbsd/Platform.c b/openbsd/Platform.c index b41900b0..a8b5d212 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.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 "openbsd/Platform.h" #include <errno.h> |