Skip to content

Commit

Permalink
Work around redefinition of macro I
Browse files Browse the repository at this point in the history
complex.h from standard library defines I, which causes problems with the I
used in protobuf's repeated_field.h. Change include order to fix it.
  • Loading branch information
a-andre committed Jun 1, 2022
1 parent 2ea5567 commit d9c7212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/interference-pattern/sim.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Author: Piotr Gawlowicz <[email protected]>
*/

#include "mygym.h"

#include "ns3/core-module.h"
#include "ns3/applications-module.h"
#include "ns3/packet-sink.h"
Expand All @@ -28,8 +30,6 @@
#include "ns3/stats-module.h"
#include "ns3/flow-monitor-module.h"

#include "mygym.h"

using namespace ns3;

NS_LOG_COMPONENT_DEFINE ("Interference-Pattern");
Expand Down

0 comments on commit d9c7212

Please sign in to comment.