diff --git a/src/meta/duplication/duplication_info.cpp b/src/meta/duplication/duplication_info.cpp index 565be6992f..027a1f97c9 100644 --- a/src/meta/duplication/duplication_info.cpp +++ b/src/meta/duplication/duplication_info.cpp @@ -20,6 +20,7 @@ #include "common/duplication_common.h" #include "meta/meta_data.h" #include "runtime/api_layer1.h" +#include "utils/flags.h" #include "utils/fmt_logging.h" DSN_DEFINE_uint64(replication, diff --git a/src/meta/meta_state_service_utils.h b/src/meta/meta_state_service_utils.h index a4760918a0..04b8086df7 100644 --- a/src/meta/meta_state_service_utils.h +++ b/src/meta/meta_state_service_utils.h @@ -20,11 +20,14 @@ #include #include #include +#include #include +#include "utils/blob.h" + namespace dsn { -class blob; class task_tracker; + namespace dist { class meta_state_service; } // namespace dist diff --git a/src/meta/test/duplication_info_test.cpp b/src/meta/test/duplication_info_test.cpp index 25b17212ff..72bbcdbb15 100644 --- a/src/meta/test/duplication_info_test.cpp +++ b/src/meta/test/duplication_info_test.cpp @@ -31,6 +31,7 @@ #include "gtest/gtest.h" #include "runtime/app_model.h" #include "test_util/test_util.h" +#include "utils/flags.h" DSN_DECLARE_uint64(dup_progress_min_update_period_ms);