aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
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>