From 75a53f54fc948089f7dd9189139cdd2f1c7f416d Mon Sep 17 00:00:00 2001 From: Gabor Gombas Date: Wed, 25 Nov 2009 05:10:29 -0800 Subject: [PATCH] the MIT DB code is between "#if HAVE_DB1... #endif" use the same check in the descriptor table Signed-off-by: Love Hornquist Astrand --- lib/hdb/hdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hdb/hdb.c b/lib/hdb/hdb.c index 913e71ad8..97de91893 100644 --- a/lib/hdb/hdb.c +++ b/lib/hdb/hdb.c @@ -66,6 +66,8 @@ const int hdb_interface_version = HDB_INTERFACE_VERSION; static struct hdb_method methods[] = { #if HAVE_DB1 || HAVE_DB3 { HDB_INTERFACE_VERSION, "db:", hdb_db_create}, +#endif +#if HAVE_DB1 { HDB_INTERFACE_VERSION, "mit-db:", hdb_mdb_create}, #endif #if HAVE_NDBM