diff --git a/compiler/code-gen/code-gen-task.cpp b/compiler/code-gen/code-gen-task.cpp index d635405895..a89415686b 100644 --- a/compiler/code-gen/code-gen-task.cpp +++ b/compiler/code-gen/code-gen-task.cpp @@ -3,7 +3,6 @@ // Distributed under the GPL v3 License, see LICENSE.notice.txt #include "compiler/code-gen/code-gen-task.h" -#include "compiler/code-gen/code-gen-root-cmd.h" // this os exists to be passed to CodeGenerator constructor, // but it won't be used actually, as CodeGenerator is not created in "just calc hashes" mode diff --git a/compiler/code-gen/code-gen-task.h b/compiler/code-gen/code-gen-task.h index 2e630ac852..03ff78ef70 100644 --- a/compiler/code-gen/code-gen-task.h +++ b/compiler/code-gen/code-gen-task.h @@ -4,6 +4,7 @@ #pragma once +#include "compiler/code-gen/code-gen-root-cmd.h" #include "compiler/code-gen/code-generator.h" #include "compiler/scheduler/task.h" #include "compiler/stage.h" @@ -11,8 +12,6 @@ ProfilerRaw& get_code_gen_profiler(); -struct CodeGenRootCmd; - class CodeGenSchedulerTask : public Task { CodeGenerator W; DataStream>& os;