From d5938af750f702d57448c99cf9bdd7cff5900047 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 1 Apr 1999 22:18:09 +0000 Subject: [PATCH] Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2 --- servers/slapd/back-ldbm/back-ldbm.h | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.39.5