This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=8389e701086116f8dd570b8897a7413595faf07b commit 8389e701086116f8dd570b8897a7413595faf07b Author: Guillem Jover <[email protected]> AuthorDate: Fri Jun 7 03:53:11 2024 +0200 lib, src: Include missing <stdbool.h> Reported-by: Simon Richter <[email protected]> Changelog: internal --- lib/dpkg/command.h | 1 + lib/dpkg/parsedump.h | 1 + lib/dpkg/pkg-format.h | 2 ++ lib/dpkg/triglib.h | 2 ++ lib/dpkg/varbuf.h | 1 + src/common/force.h | 2 ++ src/main/main.h | 2 ++ 7 files changed, 11 insertions(+) diff --git a/lib/dpkg/command.h b/lib/dpkg/command.h index 768aba437..b681d6559 100644 --- a/lib/dpkg/command.h +++ b/lib/dpkg/command.h @@ -24,6 +24,7 @@ #include <dpkg/macros.h> #include <stdarg.h> +#include <stdbool.h> DPKG_BEGIN_DECLS diff --git a/lib/dpkg/parsedump.h b/lib/dpkg/parsedump.h index 9eea5eee9..21076cc66 100644 --- a/lib/dpkg/parsedump.h +++ b/lib/dpkg/parsedump.h @@ -23,6 +23,7 @@ #ifndef LIBDPKG_PARSEDUMP_H #define LIBDPKG_PARSEDUMP_H +#include <stdbool.h> #include <stdint.h> #include <dpkg/error.h> diff --git a/lib/dpkg/pkg-format.h b/lib/dpkg/pkg-format.h index 40d41ffc1..ee4e7b128 100644 --- a/lib/dpkg/pkg-format.h +++ b/lib/dpkg/pkg-format.h @@ -21,6 +21,8 @@ #ifndef LIBDPKG_PKG_FORMAT_H #define LIBDPKG_PKG_FORMAT_H +#include <stdbool.h> + #include <dpkg/macros.h> #include <dpkg/error.h> #include <dpkg/dpkg-db.h> diff --git a/lib/dpkg/triglib.h b/lib/dpkg/triglib.h index e4e101b2b..3afeb418c 100644 --- a/lib/dpkg/triglib.h +++ b/lib/dpkg/triglib.h @@ -23,6 +23,8 @@ #ifndef LIBDPKG_TRIGLIB_H #define LIBDPKG_TRIGLIB_H +#include <stdbool.h> + #include <dpkg/macros.h> #include <dpkg/dpkg-db.h> #include <dpkg/fsys.h> diff --git a/lib/dpkg/varbuf.h b/lib/dpkg/varbuf.h index 99d9f0691..2a4da2b4d 100644 --- a/lib/dpkg/varbuf.h +++ b/lib/dpkg/varbuf.h @@ -24,6 +24,7 @@ #include <stddef.h> #include <stdarg.h> +#include <stdbool.h> #include <string.h> #include <dpkg/macros.h> diff --git a/src/common/force.h b/src/common/force.h index c232c7f8c..c85544b8b 100644 --- a/src/common/force.h +++ b/src/common/force.h @@ -22,6 +22,8 @@ #ifndef DPKG_FORCE_H #define DPKG_FORCE_H +#include <stdbool.h> + #include <dpkg/dpkg.h> #include <dpkg/options.h> diff --git a/src/main/main.h b/src/main/main.h index 118ad18b5..d70e87d50 100644 --- a/src/main/main.h +++ b/src/main/main.h @@ -22,6 +22,8 @@ #ifndef MAIN_H #define MAIN_H +#include <stdbool.h> + #include <dpkg/debug.h> #include <dpkg/pkg-list.h> -- Dpkg.Org's dpkg

