projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f098f3
)
- map db functions to rpm versions
author
Michael Schroeder
<mls@suse.de>
Mon, 31 Aug 2009 14:46:57 +0000
(16:46 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 31 Aug 2009 14:46:57 +0000
(16:46 +0200)
ext/repo_rpmdb.c
patch
|
blob
|
history
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index d87e90fe31cea6349717879cf6e2f66ca28c507d..0c3b97d7aeb6a5ed05464b06eee4949414ced6b1 100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-28,7
+28,11
@@
#include <rpm/rpmdb.h>
#ifndef DB_CREATE
-#include <db4/db.h>
+# ifndef FEDORA
+# define db_env_create db_env_create_rpmdb
+# define db_create db_create_rpmdb
+# endif
+# include <db4/db.h>
#endif
#include "pool.h"