summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/header-include-fix.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/header-include-fix.patch26
1 files changed, 26 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..5ffb187ff3
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
@@ -0,0 +1,26 @@
1Upstream-Status: Pending
2
3Index: rpm-5.4.14/rpmdb/rpmdb.h
4===================================================================
5--- rpm-5.4.14.orig/rpmdb/rpmdb.h
6+++ rpm-5.4.14/rpmdb/rpmdb.h
7@@ -9,6 +9,7 @@
8
9 #include <assert.h>
10 #include <mire.h>
11+#include <errno.h>
12
13 #include <rpmtypes.h>
14 #include <rpmtag.h> /* XXX Header typedef */
15Index: rpm-5.4.14/rpmdb/rpmtag.h
16===================================================================
17--- rpm-5.4.14.orig/rpmdb/rpmtag.h
18+++ rpm-5.4.14/rpmdb/rpmtag.h
19@@ -7,6 +7,7 @@
20
21 #include <rpmiotypes.h>
22 #include <rpmsw.h>
23+#include <stdint.h>
24
25 #ifdef __cplusplus
26 extern "C" {