Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2

This commit is contained in:
Hallvard Furuseth 1999-04-01 22:18:09 +00:00
parent 30a51ac013
commit d5938af750

View File

@ -137,7 +137,9 @@ struct ldbminfo {
struct dbcache li_dbcache[MAXDBCACHE];
ldap_pvt_thread_mutex_t li_dbcache_mutex;
ldap_pvt_thread_cond_t li_dbcache_cv;
#ifdef HAVE_BERKELEY_DB2
DB_ENV li_db_env;
#endif
};
#include "proto-back-ldbm.h"