Detect and compile with rpm 4.7 (bnc #444211)
[platform/upstream/libzypp.git] / zypp / target / rpm / librpm.h
index 5eba346..e80dafd 100644 (file)
@@ -18,8 +18,11 @@ extern "C"
 #include <rpm/rpmmacro.h>
 #include <rpm/rpmdb.h>
 #include <rpm/rpmts.h>
-#include <rpm/ugid.h>
 #include <fcntl.h>
+
+#ifndef _RPM_4_4_COMPAT
+typedef int32_t rpm_count_t;
+#endif
 }
 
 #endif // ZYPP_TARGET_RPM_LIBRPM_H