aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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