diff --git a/src/ir_opt/verification_pass.cpp b/src/ir_opt/verification_pass.cpp index 59f474b3..63c59dc6 100644 --- a/src/ir_opt/verification_pass.cpp +++ b/src/ir_opt/verification_pass.cpp @@ -4,6 +4,7 @@ * General Public License version 2 or any later version. */ +#include #include #include "common/assert.h" @@ -22,7 +23,7 @@ void VerificationPass(const IR::Block& block) { const IR::Type t1 = inst.GetArg(i).GetType(); const IR::Type t2 = IR::GetArgTypeOf(inst.GetOpcode(), i); if (!IR::AreTypesCompatible(t1, t2)) { - puts(IR::DumpBlock(block).c_str()); + std::puts(IR::DumpBlock(block).c_str()); ASSERT(false); } }