diff --git a/liblangutil/EVMVersion.cpp b/liblangutil/EVMVersion.cpp index 7b34fe7d2..24ef0673d 100644 --- a/liblangutil/EVMVersion.cpp +++ b/liblangutil/EVMVersion.cpp @@ -20,6 +20,7 @@ */ #include +#include using namespace solidity; using namespace solidity::evmasm; diff --git a/liblangutil/EVMVersion.h b/liblangutil/EVMVersion.h index c68441f01..268df7d9d 100644 --- a/liblangutil/EVMVersion.h +++ b/liblangutil/EVMVersion.h @@ -21,14 +21,18 @@ #pragma once -#include - #include #include #include +namespace solidity::evmasm +{ +/// Virtual machine bytecode instruction. Forward declared from libevmasm/Instruction.h +enum class Instruction: uint8_t; +} + namespace solidity::langutil { diff --git a/libyul/AsmAnalysis.cpp b/libyul/AsmAnalysis.cpp index c38c0ba8e..2e9f8f1d3 100644 --- a/libyul/AsmAnalysis.cpp +++ b/libyul/AsmAnalysis.cpp @@ -35,6 +35,8 @@ #include #include +#include + #include #include diff --git a/libyul/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp index 7c9bf05cf..d5e25a1d1 100644 --- a/libyul/backends/evm/EVMCodeTransform.cpp +++ b/libyul/backends/evm/EVMCodeTransform.cpp @@ -30,6 +30,8 @@ #include +#include + #include #include diff --git a/libyul/backends/evm/OptimizedEVMCodeTransform.cpp b/libyul/backends/evm/OptimizedEVMCodeTransform.cpp index db73ba2a7..2fa99ccb2 100644 --- a/libyul/backends/evm/OptimizedEVMCodeTransform.cpp +++ b/libyul/backends/evm/OptimizedEVMCodeTransform.cpp @@ -23,6 +23,8 @@ #include +#include + #include #include diff --git a/libyul/optimiser/ReasoningBasedSimplifier.cpp b/libyul/optimiser/ReasoningBasedSimplifier.cpp index af39978ed..24882d84e 100644 --- a/libyul/optimiser/ReasoningBasedSimplifier.cpp +++ b/libyul/optimiser/ReasoningBasedSimplifier.cpp @@ -28,6 +28,8 @@ #include +#include + #include #include