diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include index b9b603f99..59e671e28 100644 --- a/src/Makefile.bench.include +++ b/src/Makefile.bench.include @@ -83,7 +83,7 @@ if ENABLE_WALLET bench_bench_pocketcoin_SOURCES += bench/wallet_balance.cpp endif -bench_bench_pocketcoin_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(ZMQ_LIBS) $(CRYPTO_LIBS) $(SSL_LIBS) +bench_bench_pocketcoin_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(MINIUPNPC_LIBS) $(SQLITE_LIBS) bench_bench_pocketcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS) CLEAN_POCKETCOIN_BENCH = bench/*.gcda bench/*.gcno $(GENERATED_BENCH_FILES) diff --git a/src/bench/bench.h b/src/bench/bench.h index 4e13ee35b..0d82b3f83 100644 --- a/src/bench/bench.h +++ b/src/bench/bench.h @@ -62,4 +62,4 @@ class BenchRunner #define BENCHMARK(n) \ benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n); -#endif // BITCOIN_BENCH_BENCH_H +#endif // POCKETCOIN_BENCH_BENCH_H diff --git a/src/bench/bench_pocketcoin.cpp b/src/bench/bench_pocketcoin.cpp index a15df02b8..736e92ff6 100644 --- a/src/bench/bench_pocketcoin.cpp +++ b/src/bench/bench_pocketcoin.cpp @@ -7,8 +7,18 @@ #include #include #include -#include -#include + + +#include +#include +#include +#include +#include + +#include