aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2007-12-11 13:12:48 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2007-12-11 13:12:48 +0000
commitc592d47af9a803b50e4e114f73cb17f8a161b0c9 (patch)
tree6132dedc339bc9ab33ed37583b5acf9b5b024a96 /URPM.xs
parent468771d624f640e8368fc23e46c7e60c35fd57ab (diff)
downloadperl-URPM-c592d47af9a803b50e4e114f73cb17f8a161b0c9.tar
perl-URPM-c592d47af9a803b50e4e114f73cb17f8a161b0c9.tar.gz
perl-URPM-c592d47af9a803b50e4e114f73cb17f8a161b0c9.tar.bz2
perl-URPM-c592d47af9a803b50e4e114f73cb17f8a161b0c9.tar.xz
perl-URPM-c592d47af9a803b50e4e114f73cb17f8a161b0c9.zip
fix support for rpm 4.5
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 5097e9e..0a4af7d 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -37,9 +37,11 @@ static inline void *_free(const void * p) {
typedef struct rpmSpec_s * Spec;
#else
#define rpmtsImportPubkey rpmcliImportPubkey
+#ifndef RPM_450
#define rpmProblemGetType(p) p->type
#define rpmProblemGetPkgNEVR(p) p->pkgNEVR
#define rpmProblemGetAltNEVR(p) p->altNEVR
+#endif
#define rpmProblemGetStr(p) p->str1
#define rpmProblemGetLong(p) p->ulong1
#endif