aboutsummaryrefslogtreecommitdiffstats
path: root/rpm2header.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpm2header.c')
-rw-r--r--rpm2header.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm2header.c b/rpm2header.c
index d8831f6..429d816 100644
--- a/rpm2header.c
+++ b/rpm2header.c
@@ -5,7 +5,11 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdint.h>
#include <rpmlib.h>
+#if defined(RPM_FORMAT_VERSION) && RPM_FORMAT_VERSION >= 5
+#include "rpm5compat.h"
+#endif
#include <rpm/rpmts.h>
const char *basename(const char *f) {