rpm: suggested change

Signed-off-by: Qing He <qing.he@intel.com>
This commit is contained in:
Qing He
2011-01-11 16:39:09 +08:00
committed by Richard Purdie
parent e7fb63bf6b
commit fc5b38e709
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
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" {

View File

@@ -52,6 +52,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.0-0.20101229.src.rpm \
file://perfile_rpmdeps.sh \
file://rpm-autogen.patch \
file://rpm-libsql-fix.patch \
file://header-include-fix.patch \
"
# file://hdraddorappend.patch \