diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 26c9f38e1..65ce703f1 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -11,6 +11,7 @@ #define __STDC_FORMAT_MACROS #endif +#ifdef GFLAGS #ifdef NUMA #include #include @@ -4132,3 +4133,4 @@ int db_bench_tool(int argc, char** argv) { return 0; } } // namespace rocksdb +#endif