aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-03 00:50:45 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-03 00:50:45 +0000
commit3e40b896fff27bf75ff5155278e8eca0e6ddfe57 (patch)
treee04afda01481c7ebafd6831f93348e903b6dc911 /URPM.xs
parent3a87f677733ffb649775d19a23f7d6d1602c7836 (diff)
downloadperl-URPM-3e40b896fff27bf75ff5155278e8eca0e6ddfe57.tar
perl-URPM-3e40b896fff27bf75ff5155278e8eca0e6ddfe57.tar.gz
perl-URPM-3e40b896fff27bf75ff5155278e8eca0e6ddfe57.tar.bz2
perl-URPM-3e40b896fff27bf75ff5155278e8eca0e6ddfe57.tar.xz
perl-URPM-3e40b896fff27bf75ff5155278e8eca0e6ddfe57.zip
move compatibility wrapper to rpm5.org upstream
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs7
1 files changed, 3 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 8f69ce2..70e8e37 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -52,13 +52,12 @@ typedef struct rpmSpec_s * Spec;
#include <rpm/rpmevr.h>
#endif
#ifdef RPM_500
-# define _RPMTAG_INTERNAL
+#include <rpm/rpm4compat.h>
#endif
+
#include <rpm/rpmlib.h>
-#ifdef RPM_500
-#include "rpm5compat.h"
-#else
+#ifndef RPM_500
#include <rpm/header.h>
#endif
#include <rpm/rpmio.h>