diff --git a/src/ir_opt/verification_pass.cpp b/src/ir_opt/verification_pass.cpp index e7295527..d1d46c3f 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" @@ -23,7 +24,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); } }