diff --git a/tests/unit/query_variable_start_planner.cpp b/tests/unit/query_variable_start_planner.cpp index 615f10b87..b9772c2d3 100644 --- a/tests/unit/query_variable_start_planner.cpp +++ b/tests/unit/query_variable_start_planner.cpp @@ -15,6 +15,10 @@ #include "disk_test_utils.hpp" #include "gtest/gtest.h" +// Has to be before the rest of includes because of TRUE redefinition. Antlr +// and krb5 in conflict on CentOS7. +#include "query_plan_common.hpp" +// Do NOT remove this comment because clang-format will reorder includes. #include "query/frontend/semantic/symbol_generator.hpp" #include "query/frontend/semantic/symbol_table.hpp" #include "query/plan/planner.hpp" @@ -22,8 +26,6 @@ #include "storage/v2/inmemory/storage.hpp" #include "utils/algorithm.hpp" -#include "query_plan_common.hpp" - #include "formatters.hpp" using namespace memgraph::query::plan;