aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-01-11 16:39:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-28 17:52:56 +0000
commitfc5b38e7099251ddeaef0b608eae63889657e802 (patch)
treef32b9585e301ac9efcdbc1610d456a72c11f9d1a /meta/recipes-devtools/rpm/rpm/header-include-fix.patch
parente7fb63bf6b308273f5e3941706522d9b9525b2e7 (diff)
downloadopenembedded-core-fc5b38e7099251ddeaef0b608eae63889657e802.tar.gz
rpm: suggested change
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/header-include-fix.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/header-include-fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/header-include-fix.patch b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
new file mode 100644
index 0000000000..92c534e582
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
@@ -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" {