aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-01-16 18:02:11 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-01-16 18:02:11 +0000
commit60edb8acb0f88bf624122a70ba2030a4ac799cb1 (patch)
treef819258f135641c75af707d4e5224e226b8e45ce /URPM.xs
parent0f27fa662af51b03e4dd6de0de1a78fc8d3186cb (diff)
downloadperl-URPM-60edb8acb0f88bf624122a70ba2030a4ac799cb1.tar
perl-URPM-60edb8acb0f88bf624122a70ba2030a4ac799cb1.tar.gz
perl-URPM-60edb8acb0f88bf624122a70ba2030a4ac799cb1.tar.bz2
perl-URPM-60edb8acb0f88bf624122a70ba2030a4ac799cb1.tar.xz
perl-URPM-60edb8acb0f88bf624122a70ba2030a4ac799cb1.zip
start on work for rpm5 support
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 85c9cc9..3f48775 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -54,7 +54,11 @@ typedef struct rpmSpec_s * Spec;
#endif
#include <rpm/rpmlib.h>
+#ifdef RPM_500
+#include <rpm/rpmtag.h>
+#else
#include <rpm/header.h>
+#endif
#include <rpm/rpmio.h>
#include <rpm/rpmdb.h>
#include <rpm/rpmts.h>