diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-10-17 09:41:26 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-10-17 09:41:26 +0000 |
commit | 297f1e61583a14fa4ea430cfcd2936c973ac89b3 (patch) | |
tree | ca4badee60cdf0d0008cba7443e963a66f8e4126 | |
parent | a869069e7399580a28b9c1eb67d343c3480829c9 (diff) | |
download | rpm-setup-297f1e61583a14fa4ea430cfcd2936c973ac89b3.tar rpm-setup-297f1e61583a14fa4ea430cfcd2936c973ac89b3.tar.gz rpm-setup-297f1e61583a14fa4ea430cfcd2936c973ac89b3.tar.bz2 rpm-setup-297f1e61583a14fa4ea430cfcd2936c973ac89b3.tar.xz rpm-setup-297f1e61583a14fa4ea430cfcd2936c973ac89b3.zip |
check for existence of rpmlib.h before including it, otherwise
include rpmio.h & rpmtag.h (fixes rpm5 build)
-rw-r--r-- | rpmeval.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,11 @@ /* $Id$ */ +#ifdef HAVE_RPM_RPMLIB_H #include <rpm/rpmlib.h> +#else +#include <rpm/rpmio.h> +#include <rpm/rpmtag.h> +#endif #include <rpm/rpmmacro.h> int main(int argc, char **argv) |