0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd::db: Update include for checksum related interposition.

This commit is contained in:
Jason Volk 2020-07-24 18:59:41 -07:00
parent a46382b285
commit 285cdf6afc

View file

@ -30,6 +30,10 @@
#include "file/file_util.h"
#endif
#if __has_include("table/block_fetcher.h")
#include "table/block_fetcher.h"
#endif
#if __has_include("file/sst_file_manager_impl.h")
#include "file/sst_file_manager_impl.h"
#elif __has_include("util/sst_file_manager_impl.h")
@ -374,7 +378,8 @@ rocksdb::ThreadLocalPtr::Fold(FoldFunc func,
// available.
//
#if (__has_include("util/file_util.h") || __has_include("file/file_util.h")) && defined(IRCD_DB_BYPASS_CHECKSUM)
#if defined(IRCD_DB_BYPASS_CHECKSUM) \
&& (__has_include("util/file_util.h") || __has_include("file/file_util.h") || __has_include("table/block_fetcher.h"))
void
rocksdb::BlockFetcher::CheckBlockChecksum()
{