bitcoin/bitcoin — pull request #3442 by tholenst (2013-12-18 20:46:38+00:00)
Title: Make bitcoin compile without wallet if "db_cxx.h" is not present

The compile didn't work with --disable-wallet before when berkeleydb (in particular, "db_cxx.h") wasn't present. I brainlessly moved all the
#include "db.h"
into
#ifdef ENABLE_WALLET
blocks. Now it works.