blob: e72df45b5a4870cb22e718bd266421869dbf4258 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001Update two rpm headers to include other headers.
2
3Using rpmdb.h w/o including errno.h may result in a warning.
4
5Using rpmtag.h w/o also adding stdint.h will result in numerous failures
6about unknown types on modern compilers.
7
8Upstream-Status: Submitted [RPM5 maintainer]
9
10Signed-off-by: Qing He <qing.he@intel.com>
11Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
13Index: rpm-5.4.14/rpmdb/rpmdb.h
14===================================================================
15--- rpm-5.4.14.orig/rpmdb/rpmdb.h
16+++ rpm-5.4.14/rpmdb/rpmdb.h
17@@ -9,6 +9,7 @@
18
19 #include <assert.h>
20 #include <mire.h>
21+#include <errno.h>
22
23 #include <rpmtypes.h>
24 #include <rpmtag.h> /* XXX Header typedef */
25Index: rpm-5.4.14/rpmdb/rpmtag.h
26===================================================================
27--- rpm-5.4.14.orig/rpmdb/rpmtag.h
28+++ rpm-5.4.14/rpmdb/rpmtag.h
29@@ -7,6 +7,7 @@
30
31 #include <rpmiotypes.h>
32 #include <rpmsw.h>
33+#include <stdint.h>
34
35 #ifdef __cplusplus
36 extern "C" {