aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpm5compat.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/rpm5compat.h b/rpm5compat.h
index 2a49264..bfc317d 100644
--- a/rpm5compat.h
+++ b/rpm5compat.h
@@ -1,20 +1,27 @@
-/*
- * Copyright (c) 2008 Per Øyvind Karlsen <peroyvind@mandriva.org>
- *
- * $Id: rpm5compat.h 237744 2008-02-28 17:15:00Z peroyvind $
- *
- */
#define RPM_NULL_TYPE 0
#define RPM_CHAR_TYPE RPM_UINT8_TYPE
#define RPM_INT8_TYPE RPM_UINT8_TYPE
#define RPM_INT16_TYPE RPM_UINT16_TYPE
#define RPM_INT32_TYPE RPM_UINT32_TYPE
+#ifndef H_RPMEVR
+#include <rpm/rpmevr.h>
+#endif
+#ifndef H_RPMIO
#include <rpm/rpmio.h>
+#endif
+#ifndef _H_PKGIO
#include <rpm/pkgio.h>
+#endif
+#ifndef H_RPMCB
#include <rpm/rpmcb.h>
+#endif
+#ifndef H_RPMTS
#include <rpm/rpmts.h>
+#endif
+#ifndef _H_MACRO_
#include <rpm/rpmmacro.h>
+#endif
enum hMagic {
HEADER_MAGIC_NO = 0,