- map db functions to rpm versions
authorMichael Schroeder <mls@suse.de>
Mon, 31 Aug 2009 14:46:57 +0000 (16:46 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 31 Aug 2009 14:46:57 +0000 (16:46 +0200)
ext/repo_rpmdb.c

index d87e90fe31cea6349717879cf6e2f66ca28c507d..0c3b97d7aeb6a5ed05464b06eee4949414ced6b1 100644 (file)
 #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"