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 | #ifdef HAVE_DB_H | ||||||
|     {"db:",	hdb_db_create}, |     {"db:",	hdb_db_create}, | ||||||
| #endif | #endif | ||||||
| #ifdef HAVE_NDBM_H | #if defined(HAVE_NDBM_H) || defined(HAVE_GDBM_NDBM_H) | ||||||
|     {"ndbm:",	hdb_ndbm_create}, |     {"ndbm:",	hdb_ndbm_create}, | ||||||
| #endif | #endif | ||||||
| #ifdef OPENLDAP | #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).  |  * (Royal Institute of Technology, Stockholm, Sweden).  | ||||||
|  * All rights reserved.  |  * All rights reserved.  | ||||||
|  * |  * | ||||||
| @@ -35,7 +35,7 @@ | |||||||
|  |  | ||||||
| RCSID("$Id$"); | RCSID("$Id$"); | ||||||
|  |  | ||||||
| #ifdef HAVE_NDBM_H | #if defined(HAVE_NDBM_H) || defined(GDBM_NDBM_H) | ||||||
|  |  | ||||||
| struct ndbm_db { | struct ndbm_db { | ||||||
|     DBM *db; |     DBM *db; | ||||||
| @@ -312,5 +312,4 @@ hdb_ndbm_create(krb5_context context, HDB **db, | |||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund