aboutsummaryrefslogtreecommitdiffstats
path: root/rpm5compat.h
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-01 12:33:17 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-01 12:33:17 +0000
commit6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5 (patch)
tree4c44858e3d976af0b741ac7b67961fa4bf65ecc8 /rpm5compat.h
parenta2290efbb395b35330377e0a9acef9b92dab9aeb (diff)
downloadperl-URPM-6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5.tar
perl-URPM-6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5.tar.gz
perl-URPM-6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5.tar.bz2
perl-URPM-6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5.tar.xz
perl-URPM-6c14a9b66694bc2ef9d6a61bdf98b3ed02659fe5.zip
define WITH_DB in rpm5compat.h in stead of in Makefile
drop useless conditionals for headers as they're already conditional in themself ;)
Diffstat (limited to 'rpm5compat.h')
-rw-r--r--rpm5compat.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/rpm5compat.h b/rpm5compat.h
index fcdb327..76cc1bf 100644
--- a/rpm5compat.h
+++ b/rpm5compat.h
@@ -10,24 +10,13 @@
#define RPM_INT16_TYPE RPM_UINT16_TYPE
#define RPM_INT32_TYPE RPM_UINT32_TYPE
-#ifndef H_RPMEVR
+#define WITH_DB
#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,