aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-02-17 19:58:37 +0000
committerHoward Chu <hyc@symas.com>2016-02-17 20:41:34 +0000
commit9218cad640e51128819d942c71fe70e2e4fba63d (patch)
tree09d8199925d014361d3c1e401888449beab109f1 /src
parent8860b7497f1f98e2d5ba49aa77e7b390c22b5c4e (diff)
downloadmonzero-core-9218cad640e51128819d942c71fe70e2e4fba63d.tar.gz
monzero-core-9218cad640e51128819d942c71fe70e2e4fba63d.tar.xz
monzero-core-9218cad640e51128819d942c71fe70e2e4fba63d.zip
Fix cffc411c9025e1d28a8b6e32c53c83ba113d9204
Don't include bdb header unless defined(BERKELEY_DB)
Diffstat (limited to 'src')
-rw-r--r--src/blockchain_utilities/fake_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blockchain_utilities/fake_core.h b/src/blockchain_utilities/fake_core.h
index 20a3361b6..2fb5031d3 100644
--- a/src/blockchain_utilities/fake_core.h
+++ b/src/blockchain_utilities/fake_core.h
@@ -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;