]> git.sur5r.net Git - openldap/commitdiff
Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 1 Apr 1999 22:18:09 +0000 (22:18 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 1 Apr 1999 22:18:09 +0000 (22:18 +0000)
servers/slapd/back-ldbm/back-ldbm.h

index 7633cdb3b5b9d3b903593decc4b37129a3a1d2b7..0f6623ce578f95f3468c0db8080fb3404057c158 100644 (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"