Skip to content

Commit

Permalink
Merge pull request #2449 from lf-lang/refactor-only-comm-type
Browse files Browse the repository at this point in the history
Add C target code generate to include socket_common.h
  • Loading branch information
hokeun authored Dec 28, 2024
2 parents 5f600a4 + fae5b1b commit c794669
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ public String generatePreamble(
includes.pr("#include \"core/federated/federate.h\"");
includes.pr("#include \"core/federated/network/net_common.h\"");
includes.pr("#include \"core/federated/network/net_util.h\"");
includes.pr("#include \"core/federated/network/socket_common.h\"");
includes.pr("#include \"core/federated/clock-sync.h\"");
includes.pr("#include \"core/threaded/reactor_threaded.h\"");
includes.pr("#include \"core/utils/util.h\"");
Expand All @@ -542,6 +543,7 @@ protected String makePreamble(
code.pr("#include \"core/federated/federate.h\"");
code.pr("#include \"core/federated/network/net_common.h\"");
code.pr("#include \"core/federated/network/net_util.h\"");
code.pr("#include \"core/federated/network/socket_common.h\"");
code.pr("#include \"core/federated/clock-sync.h\"");
code.pr("#include \"core/threaded/reactor_threaded.h\"");
code.pr("#include \"core/utils/util.h\"");
Expand Down

0 comments on commit c794669

Please sign in to comment.