diff options
author | Michael Schroeder <mls@suse.de> | 2009-08-31 12:33:42 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-08-31 12:33:42 +0200 |
commit | 97075a7dd726d08e5d5a8ffaf72f172289ab7120 (patch) | |
tree | 5bdaf8738d8ae4bd552e117275520a0851d252bc /ext | |
parent | 5a4f78bcf5dcbadad7ba6c42a6b74eb9c1005bdd (diff) | |
download | libsolv-97075a7dd726d08e5d5a8ffaf72f172289ab7120.tar.gz libsolv-97075a7dd726d08e5d5a8ffaf72f172289ab7120.tar.bz2 libsolv-97075a7dd726d08e5d5a8ffaf72f172289ab7120.zip |
- adapt to build with rpm-4.7
Diffstat (limited to 'ext')
-rw-r--r-- | ext/repo_rpmdb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 8947f9a..d87e90f 100644 --- a/ext/repo_rpmdb.c +++ b/ext/repo_rpmdb.c @@ -22,14 +22,14 @@ #include <unistd.h> #include <assert.h> -#ifdef FEDORA -#include <db4/db.h> -#else -#include <rpm/db.h> -#endif #include <rpm/rpmio.h> #include <rpm/rpmpgp.h> #include <rpm/header.h> +#include <rpm/rpmdb.h> + +#ifndef DB_CREATE +#include <db4/db.h> +#endif #include "pool.h" #include "repo.h" |