summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-17 14:55:41 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-17 14:55:41 +0300
commit38fe2fd9731522bf4485c9734fcf645b8bf82329 (patch)
tree801ca5ed93c5741cfef30ad3673a55a22ed0e572 /rpmdb
parent44768215d390b5e4f792c2a0c2e69c4476d26f9c (diff)
downloadrpm-38fe2fd9731522bf4485c9734fcf645b8bf82329.tar.gz
rpm-38fe2fd9731522bf4485c9734fcf645b8bf82329.tar.bz2
rpm-38fe2fd9731522bf4485c9734fcf645b8bf82329.zip
Use HAVE_DB_H for both internal and external BDB
- rpmdb only cares whether we have BDB or no, internal vs external doesn't matter - makes external BDB actually work
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/rpmdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c
index ad79a2e0f..453448957 100644
--- a/rpmdb/rpmdb.c
+++ b/rpmdb/rpmdb.c
@@ -188,7 +188,7 @@ static void dbiTagsInit(void)
#define DB1vec NULL
#define DB2vec NULL
-#ifdef HAVE_DB3_DB_H
+#ifdef HAVE_DB_H
extern struct _dbiVec db3vec;
#define DB3vec &db3vec
#else
@@ -310,7 +310,7 @@ exit:
db->db_bits = PBM_ALLOC(db->db_nbits);
}
}
-#ifdef HAVE_DB3_DB_H
+#ifdef HAVE_DB_H
else
dbi = db3Free(dbi);
#endif