RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 27-Feb-2016 21:10:44 Branch: rpm-5_4 Handle: 2016022720104400 Modified files: (Branch: rpm-5_4) rpm/rpmdb rpmdb.h rpmtag.h Log: Update two rpm headers to include other headers. Using rpmdb.h w/o including errno.h may result in a warning. Using rpmtag.h w/o also adding stdint.h will result in numerous failures about unknown types on modern compilers. Summary: Revision Changes Path 1.141.2.13 +1 -0 rpm/rpmdb/rpmdb.h 1.70.4.18 +1 -0 rpm/rpmdb/rpmtag.h ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmdb/rpmdb.h ============================================================================ $ cvs diff -u -r1.141.2.12 -r1.141.2.13 rpmdb.h --- rpm/rpmdb/rpmdb.h 24 Sep 2014 13:27:54 -0000 1.141.2.12 +++ rpm/rpmdb/rpmdb.h 27 Feb 2016 20:10:44 -0000 1.141.2.13 @@ -9,6 +9,7 @@ #include <assert.h> #include <mire.h> +#include <errno.h> #include <rpmtypes.h> #include <rpmtag.h> /* XXX Header typedef */ @@ . patch -p0 <<'@@ .' Index: rpm/rpmdb/rpmtag.h ============================================================================ $ cvs diff -u -r1.70.4.17 -r1.70.4.18 rpmtag.h --- rpm/rpmdb/rpmtag.h 23 Feb 2015 10:47:07 -0000 1.70.4.17 +++ rpm/rpmdb/rpmtag.h 27 Feb 2016 20:10:44 -0000 1.70.4.18 @@ -7,6 +7,7 @@ #include <rpmiotypes.h> #include <rpmsw.h> +#include <stdint.h> #ifdef __cplusplus extern "C" { @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org