summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
blob: 92c534e582e39b4543efce4ddfb0dbaf6c75916f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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" {