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=f03f632b1eeb14f4004ec6986b4ee384f32757d7

commit f03f632b1eeb14f4004ec6986b4ee384f32757d7
Author: Simon Richter <[email protected]>
AuthorDate: Sat May 6 04:09:14 2023 +0900

    libdpkg: Make headers self-contained
    
    [[email protected]: Move forward declaration close to existing one. ]
    
    Signed-off-by: Guillem Jover <[email protected]>
---
 lib/dpkg/command.h   | 2 ++
 lib/dpkg/db-fsys.h   | 1 +
 lib/dpkg/parsedump.h | 1 +
 3 files changed, 4 insertions(+)

diff --git a/lib/dpkg/command.h b/lib/dpkg/command.h
index 7d2098a29..09ec92ac7 100644
--- a/lib/dpkg/command.h
+++ b/lib/dpkg/command.h
@@ -23,6 +23,8 @@
 
 #include <dpkg/macros.h>
 
+#include <stdarg.h>
+
 DPKG_BEGIN_DECLS
 
 /**
diff --git a/lib/dpkg/db-fsys.h b/lib/dpkg/db-fsys.h
index cd9abefaf..a95b29d92 100644
--- a/lib/dpkg/db-fsys.h
+++ b/lib/dpkg/db-fsys.h
@@ -48,6 +48,7 @@ DPKG_BEGIN_DECLS
  */
 
 struct pkginfo;
+struct pkgbin;
 
 void ensure_diversions(void);
 
diff --git a/lib/dpkg/parsedump.h b/lib/dpkg/parsedump.h
index 4f03e87f7..c43da7ff6 100644
--- a/lib/dpkg/parsedump.h
+++ b/lib/dpkg/parsedump.h
@@ -26,6 +26,7 @@
 #include <stdint.h>
 
 #include <dpkg/error.h>
+#include <dpkg/dpkg-db.h>
 
 DPKG_BEGIN_DECLS
 

-- 
Dpkg.Org's dpkg

Reply via email to