[PATCH 1/2] Make headers self-contained
---
lib/dpkg/command.h | 2 ++
lib/dpkg/db-fsys.h | 2 ++
lib/dpkg/parsedump.h | 1 +
3 files changed, 5 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..3a9696aa4 100644
--- a/lib/dpkg/db-fsys.h
+++ b/lib/dpkg/db-fsys.h
@@ -27,6 +27,8 @@
DPKG_BEGIN_DECLS
+struct pkgbin;
+
/*
* Data structure here is as follows:
*
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
--
2.39.2
Reply to: