diff options
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" |