diff options
author | Michael Schroeder <mls@suse.de> | 2012-10-19 14:44:01 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-10-19 14:44:01 +0200 |
commit | dd3f9bb02ea7aec77311340f2ff21ffc9fd39d65 (patch) | |
tree | 6f40d0c308bc94b15f6e369782fb58904cad278f /ext/repo_rpmdb.c | |
parent | 6afa7f074f6437f73d036b2c05292cc15216949f (diff) | |
download | libsolv-dd3f9bb02ea7aec77311340f2ff21ffc9fd39d65.tar.gz libsolv-dd3f9bb02ea7aec77311340f2ff21ffc9fd39d65.tar.bz2 libsolv-dd3f9bb02ea7aec77311340f2ff21ffc9fd39d65.zip |
check for rpm/db.h header file
Diffstat (limited to 'ext/repo_rpmdb.c')
-rw-r--r-- | ext/repo_rpmdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 38de58a..59cd153 100644 --- a/ext/repo_rpmdb.c +++ b/ext/repo_rpmdb.c @@ -32,10 +32,10 @@ #include <rpm/rpmdb.h> #ifndef DB_CREATE -# ifdef FEDORA -# include <db.h> -# else +# if defined(SUSE) || defined(HAVE_RPM_DB_H) # include <rpm/db.h> +# else +# include <db.h> # endif #endif |