From: Hallvard Furuseth Date: Thu, 1 Apr 1999 22:18:09 +0000 (+0000) Subject: Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2 X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~283 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5938af750f702d57448c99cf9bdd7cff5900047;p=openldap Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2 --- diff --git a/servers/slapd/back-ldbm/back-ldbm.h b/servers/slapd/back-ldbm/back-ldbm.h index 7633cdb3b5..0f6623ce57 100644 --- a/servers/slapd/back-ldbm/back-ldbm.h +++ b/servers/slapd/back-ldbm/back-ldbm.h @@ -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"