Skip to content

Commit

Permalink
fix missing header in synthesized profiled program
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin committed Feb 8, 2022
1 parent d70cf1e commit 1b51ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/synthesiser/Synthesiser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,7 @@ void Synthesiser::generateCode(std::ostream& sos, const std::string& id, bool& w
}

if (Global::config().has("profile") || Global::config().has("live-profile")) {
os << "#include \"souffle/profile/Logger.h\"";
os << "#include \"souffle/profile/ProfileEvent.h\"";
}

Expand Down

0 comments on commit 1b51ae6

Please sign in to comment.