Conditionalise the sqlite3 HDB backend.

This commit is contained in:
elric 2011-04-13 18:23:42 +00:00
parent ca1c9b0c53
commit f22e4d20b3
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdb.c,v 1.1.1.1 2011/04/13 18:14:42 elric Exp $ */ /* $NetBSD: hdb.c,v 1.2 2011/04/13 18:23:42 elric Exp $ */
/* /*
* Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan * Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan
@ -80,7 +80,9 @@ static struct hdb_method methods[] = {
{ HDB_INTERFACE_VERSION, "ldap:", hdb_ldap_create}, { HDB_INTERFACE_VERSION, "ldap:", hdb_ldap_create},
{ HDB_INTERFACE_VERSION, "ldapi:", hdb_ldapi_create}, { HDB_INTERFACE_VERSION, "ldapi:", hdb_ldapi_create},
#endif #endif
#ifdef SQLITE3
{ HDB_INTERFACE_VERSION, "sqlite:", hdb_sqlite_create}, { HDB_INTERFACE_VERSION, "sqlite:", hdb_sqlite_create},
#endif
{0, NULL, NULL} {0, NULL, NULL}
}; };