From: Panu Matilainen Date: Mon, 22 Oct 2007 12:51:04 +0000 (+0300) Subject: Fix rpmts.h internal includes instead of working around in rpminstall.c X-Git-Tag: rpm-4.6.0-rc1~1593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c499d40dc0598fc726923215697db9aefac35f8;p=platform%2Fupstream%2Frpm.git Fix rpmts.h internal includes instead of working around in rpminstall.c --- diff --git a/lib/rpminstall.c b/lib/rpminstall.c index aefd038..df15f92 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -9,7 +9,6 @@ #include "rpmdb.h" #include "rpmds.h" -#include "rpmte.h" /* XXX: rpmts.h needs this for rpmtsScoreEntries */ #define _RPMTS_INTERNAL /* ts->goal, ts->suggests */ #include "rpmts.h" diff --git a/lib/rpmts.h b/lib/rpmts.h index 2874fa6..a7c3370 100644 --- a/lib/rpmts.h +++ b/lib/rpmts.h @@ -99,6 +99,7 @@ typedef enum rpmtsOpX_e { #include "rpmhash.h" /* XXX hashTable */ #include "rpmal.h" /* XXX availablePackage/relocateFileList ,*/ +#include "rpmte.h" /* for rpmElementType */ /********************** * Transaction Scores *