diff -ur rpm-5.4.10.orig/rpmio/argv.h rpm-5.4.10/rpmio/argv.h --- rpm-5.4.10.orig/rpmio/argv.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/argv.h 2012-09-09 14:43:55.765933246 +0200 @@ -1,6 +1,8 @@ #ifndef _H_ARGV_ #define _H_ARGV_ +#include /* XXX FILE * typedef */ + /** \ingroup rpmio * \file rpmio/argv.h */ diff -ur rpm-5.4.10.orig/rpmdb/pkgio.h rpm-5.4.10/rpmdb/pkgio.h --- rpm-5.4.10.orig/rpmdb/pkgio.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmdb/pkgio.h 2012-09-09 14:49:38.112587836 +0200 @@ -6,6 +6,8 @@ * Methods to handle package elements. */ +#include /* XXX unint32_t typedef */ +#include #include /* XXX FD_t typedef */ #include /* XXX pgpDig typedef */ #include /* XXX Header typedef */ diff -ur rpm-5.4.10.orig/lib/rpm46compat.h rpm-5.4.10/lib/rpm46compat.h --- rpm-5.4.10.orig/lib/rpm46compat.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpm46compat.h 2012-09-09 14:25:02.645973220 +0200 @@ -7,6 +7,7 @@ #ifndef H_RPM46COMPAT #define H_RPM46COMPAT 1 +#include /* XXX unint32_t typedef */ #include #include diff -ur rpm-5.4.10.orig/lib/rpm4compat.h rpm-5.4.10/lib/rpm4compat.h --- rpm-5.4.10.orig/lib/rpm4compat.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpm4compat.h 2012-09-09 14:25:12.069306220 +0200 @@ -42,6 +42,7 @@ #include #include #include +#include /* XXX unint32_t typedef */ #define WITH_DB #define _RPMDB_INTERNAL diff -ur rpm-5.4.10.orig/rpmio/rpmbf.h rpm-5.4.10/rpmio/rpmbf.h --- rpm-5.4.10.orig/rpmio/rpmbf.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/rpmbf.h 2012-09-09 14:27:36.982634442 +0200 @@ -1,6 +1,8 @@ #ifndef H_RPMBF #define H_RPMBF +#include /* XXX size_t typedef */ + /** \ingroup rpmio * \file rpmio/rpmbf.h */ diff -ur rpm-5.4.10.orig/build/rpmbuild.h rpm-5.4.10/build/rpmbuild.h --- rpm-5.4.10.orig/build/rpmbuild.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/build/rpmbuild.h 2012-09-09 14:38:45.262610867 +0200 @@ -7,6 +7,7 @@ */ #include +#include /* XXX FD_t typedef */ #include #include #include diff -ur rpm-5.4.10.orig/lib/rpmcli.h rpm-5.4.10/lib/rpmcli.h --- rpm-5.4.10.orig/lib/rpmcli.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmcli.h 2012-09-09 14:25:48.149304946 +0200 @@ -5,6 +5,7 @@ * \file lib/rpmcli.h */ +#include /* XXX unint32_t typedef */ #include #include #include diff -ur rpm-5.4.10.orig/rpmconstant/rpmconstant.h rpm-5.4.10/rpmconstant/rpmconstant.h --- rpm-5.4.10.orig/rpmconstant/rpmconstant.h 2012-09-09 13:54:24.000000000 +0200 +++ rpm-5.4.10/rpmconstant/rpmconstant.h 2012-09-09 14:25:56.589304650 +0200 @@ -18,6 +18,8 @@ * */ +#include /* XXX unint32_t typedef */ + #include #include /* XXX fnpyKey */ #include diff -ur rpm-5.4.10.orig/rpmdb/rpmdb.h rpm-5.4.10/rpmdb/rpmdb.h --- rpm-5.4.10.orig/rpmdb/rpmdb.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmdb/rpmdb.h 2012-09-09 14:26:05.802637657 +0200 @@ -7,6 +7,7 @@ * Access RPM indices using Berkeley DB interface(s). */ +#include /* XXX unint32_t typedef */ #include #include diff -ur rpm-5.4.10.orig/lib/rpmds.h rpm-5.4.10/lib/rpmds.h --- rpm-5.4.10.orig/lib/rpmds.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmds.h 2012-09-09 15:30:02.718364975 +0200 @@ -6,7 +6,12 @@ * Structure(s) used for dependency tag sets. */ +#include /* XXX FILE * typedef */ +#include /* XXX size_t typedef */ +#include +#include #include +#include #define _RPMNS_INTERNAL #include #include diff -ur rpm-5.4.10.orig/rpmdb/rpmevr.h rpm-5.4.10/rpmdb/rpmevr.h --- rpm-5.4.10.orig/rpmdb/rpmevr.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmdb/rpmevr.h 2012-09-09 14:39:25.295942787 +0200 @@ -1,6 +1,8 @@ #ifndef H_RPMEVR #define H_RPMEVR +#include /* XXX unint32_t typedef */ + /** \ingroup rpmds * \file lib/rpmevr.h * Structure(s) and routine(s) used for EVR parsing and comparison. diff -ur rpm-5.4.10.orig/lib/rpmfi.h rpm-5.4.10/lib/rpmfi.h --- rpm-5.4.10.orig/lib/rpmfi.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmfi.h 2012-09-09 15:32:47.761692486 +0200 @@ -1,6 +1,11 @@ #ifndef H_RPMFI #define H_RPMFI +#include /* XXX size_t typedef */ +#include +#include +#include + /** \ingroup rpmfi * \file lib/rpmfi.h * Structure(s) used for file info tag sets. diff -ur rpm-5.4.10.orig/lib/rpmgi.h rpm-5.4.10/lib/rpmgi.h --- rpm-5.4.10.orig/lib/rpmgi.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmgi.h 2012-09-09 15:31:45.738361341 +0200 @@ -8,9 +8,12 @@ #include #include #include +#include #include #include #include +#include +#include /* XXX FD_t typedef */ /** */ diff -ur rpm-5.4.10.orig/rpmio/rpmiotypes.h rpm-5.4.10/rpmio/rpmiotypes.h --- rpm-5.4.10.orig/rpmio/rpmiotypes.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/rpmiotypes.h 2012-09-09 14:27:26.585968142 +0200 @@ -1,6 +1,9 @@ #ifndef _H_RPMIOTYPES_ #define _H_RPMIOTYPES_ +#include /* XXX NULL typedef */ +#include /* XXX size_t typedef */ + /** \ingroup rpmio * \file rpmio/rpmiotypes.h */ diff -ur rpm-5.4.10.orig/rpmio/rpmmacro.h rpm-5.4.10/rpmio/rpmmacro.h --- rpm-5.4.10.orig/rpmio/rpmmacro.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/rpmmacro.h 2012-09-09 14:29:08.622631207 +0200 @@ -1,6 +1,9 @@ #ifndef _H_MACRO_ #define _H_MACRO_ +#include /* XXX FILE * typedef */ +#include /* XXX size_t typedef */ + /** \ingroup rpmio * \file rpmio/rpmmacro.h */ diff -ur rpm-5.4.10.orig/rpmdb/rpmns.h rpm-5.4.10/rpmdb/rpmns.h --- rpm-5.4.10.orig/rpmdb/rpmns.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmdb/rpmns.h 2012-09-09 15:33:08.021691772 +0200 @@ -1,6 +1,9 @@ #ifndef H_RPMNS #define H_RPMNS +#include /* XXX size_t typedef */ +#include + /** \ingroup rpmds * \file lib/rpmns.h * Structure(s) and routine(s) used for classifying and parsing names. diff -ur rpm-5.4.10.orig/lib/rpmps.h rpm-5.4.10/lib/rpmps.h --- rpm-5.4.10.orig/lib/rpmps.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmps.h 2012-09-09 14:47:02.782593316 +0200 @@ -1,6 +1,9 @@ #ifndef H_RPMPS #define H_RPMPS +#include /* XXX FILE * typedef */ +#include + /** \ingroup rpmps * \file lib/rpmps.h * Structures and prototypes used for an "rpmps" problem set. diff -ur rpm-5.4.10.orig/lib/rpmrc.h rpm-5.4.10/lib/rpmrc.h --- rpm-5.4.10.orig/lib/rpmrc.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmrc.h 2012-09-09 14:28:54.559298370 +0200 @@ -1,6 +1,8 @@ #ifndef H_RPMRC #define H_RPMRC +#include /* XXX FILE * typedef */ + /** * \file lib/rpmrc.h */ diff -ur rpm-5.4.10.orig/build/rpmspec.h rpm-5.4.10/build/rpmspec.h --- rpm-5.4.10.orig/build/rpmspec.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/build/rpmspec.h 2012-09-09 15:33:14.861691530 +0200 @@ -6,9 +6,14 @@ * The Spec and Package data structures used during build. */ +#include /* XXX size_t typedef */ +#include +#include #include #include /* XXX rpmfi typedef */ #include /* XXX QVA_t typedef */ +#include +#include /* XXX FD_t typedef */ /** \ingroup rpmbuild */ diff -ur rpm-5.4.10.orig/rpmio/rpmsw.h rpm-5.4.10/rpmio/rpmsw.h --- rpm-5.4.10.orig/rpmio/rpmsw.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/rpmsw.h 2012-09-09 15:35:35.208353246 +0200 @@ -1,6 +1,9 @@ #ifndef H_RPMSW #define H_RPMSW +#include /* XXX FILE * typedef */ +#include /* XXX struct timeval typedef */ + /** \ingroup rpmio * \file rpmio/rpmsw.h */ diff -ur rpm-5.4.10.orig/rpmdb/rpmtag.h rpm-5.4.10/rpmdb/rpmtag.h --- rpm-5.4.10.orig/rpmdb/rpmtag.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmdb/rpmtag.h 2012-09-09 14:26:15.429303984 +0200 @@ -5,6 +5,7 @@ * \file rpmdb/rpmtag.h */ +#include /* XXX unint32_t typedef */ #include #include diff -ur rpm-5.4.10.orig/lib/rpmte.h rpm-5.4.10/lib/rpmte.h --- rpm-5.4.10.orig/lib/rpmte.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmte.h 2012-09-09 15:32:00.408360824 +0200 @@ -5,7 +5,13 @@ * \file lib/rpmte.h * Structures used for an "rpmte" transaction element. */ +#include /* XXX unint32_t typedef */ +#include /* XXX size_t typedef */ +#include +#include #include +#include +#include /* XXX FD_t typedef */ /** */ diff -ur rpm-5.4.10.orig/lib/rpmts.h rpm-5.4.10/lib/rpmts.h --- rpm-5.4.10.orig/lib/rpmts.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmts.h 2012-09-09 15:30:53.381696521 +0200 @@ -6,9 +6,14 @@ * Structures and prototypes used for an "rpmts" transaction set. */ -#include "rpmps.h" -#include "rpmsw.h" +#include /* XXX FILE * typedef */ +#include /* XXX unint32_t typedef */ +#include +#include +#include +#include #include /* XXX pgpVSFlags */ +#include #if defined(_RPMTS_INTERNAL) #include #endif diff -ur rpm-5.4.10.orig/lib/rpmversion.h rpm-5.4.10/lib/rpmversion.h --- rpm-5.4.10.orig/lib/rpmversion.h 2012-09-09 13:54:23.000000000 +0200 +++ rpm-5.4.10/lib/rpmversion.h 2012-09-09 14:29:18.352630865 +0200 @@ -1,6 +1,8 @@ #ifndef __RPMVERSION_H__ #define __RPMVERSION_H__ +#include /* XXX unint32_t typedef */ + #ifdef __cplusplus extern "C" { #endif diff -ur rpm-5.4.10.orig/rpmio/yarn.h rpm-5.4.10/rpmio/yarn.h --- rpm-5.4.10.orig/rpmio/yarn.h 2012-09-09 13:54:22.000000000 +0200 +++ rpm-5.4.10/rpmio/yarn.h 2012-09-09 15:37:09.928349906 +0200 @@ -111,6 +111,9 @@ handler will exit (set to NULL by default for no action) */ +#include /* XXX size_t typedef */ +#include /* XXX yarnLock typedef */ + #ifdef __cplusplus extern "C" { #endif