Files
poky/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
Qing He fc5b38e709 rpm: suggested change
Signed-off-by: Qing He <qing.he@intel.com>
2011-01-28 17:52:56 +00:00

25 lines
499 B
Diff

diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h
index 0e1bdd7..8b522bb 100644
--- a/rpmdb/rpmdb.h
+++ b/rpmdb/rpmdb.h
@@ -9,6 +9,7 @@
#include <assert.h>
#include <mire.h>
+#include <errno.h>
#include <rpmtypes.h>
#include <rpmtag.h> /* XXX Header typedef */
diff --git a/rpmdb/rpmtag.h b/rpmdb/rpmtag.h
index 8af6480..2166b4c 100644
--- a/rpmdb/rpmtag.h
+++ b/rpmdb/rpmtag.h
@@ -7,6 +7,7 @@
#include <rpmiotypes.h>
#include <rpmsw.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {