Fix rpmts.h internal includes instead of working around in rpminstall.c
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 22 Oct 2007 12:51:04 +0000 (15:51 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 22 Oct 2007 12:51:04 +0000 (15:51 +0300)
lib/rpminstall.c
lib/rpmts.h

index aefd038..df15f92 100644 (file)
@@ -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"
 
index 2874fa6..a7c3370 100644 (file)
@@ -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 *