handle both ndbm.h and gdbm/ndbm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9153 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -44,7 +44,7 @@ static struct hdb_method methods[] = {
|
||||
#ifdef HAVE_DB_H
|
||||
{"db:", hdb_db_create},
|
||||
#endif
|
||||
#ifdef HAVE_NDBM_H
|
||||
#if defined(HAVE_NDBM_H) || defined(HAVE_GDBM_NDBM_H)
|
||||
{"ndbm:", hdb_ndbm_create},
|
||||
#endif
|
||||
#ifdef OPENLDAP
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
#ifdef HAVE_NDBM_H
|
||||
#if defined(HAVE_NDBM_H) || defined(GDBM_NDBM_H)
|
||||
|
||||
struct ndbm_db {
|
||||
DBM *db;
|
||||
@@ -312,5 +312,4 @@ hdb_ndbm_create(krb5_context context, HDB **db,
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user