Don't include bdb header unless defined(BERKELEY_DB)
This commit is contained in:
Howard Chu 2016-02-17 19:58:37 +00:00
parent 8860b7497f
commit 9218cad640
1 changed files with 2 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#include "cryptonote_core/blockchain_storage.h" // in-memory DB
#include "blockchain_db/blockchain_db.h"
#include "blockchain_db/lmdb/db_lmdb.h"
#if defined(BERKELEY_DB)
#include "blockchain_db/berkeleydb/db_bdb.h"
#endif
using namespace cryptonote;