diff --git a/examples/csma-broadcast.cc b/examples/csma-broadcast.cc index 17720716b..f0d4e24f3 100644 --- a/examples/csma-broadcast.cc +++ b/examples/csma-broadcast.cc @@ -35,6 +35,7 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" #include "ns3/internet-node-module.h" +#include "ns3/simulator-module.h" using namespace ns3; diff --git a/examples/tcp-large-transfer.cc b/examples/tcp-large-transfer.cc index 4d3d09179..e9c661086 100644 --- a/examples/tcp-large-transfer.cc +++ b/examples/tcp-large-transfer.cc @@ -36,12 +36,13 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" +#include "ns3/node-module.h" +#include "ns3/global-route-manager.h" +#include "ns3/simulator-module.h" #include "ns3/ascii-trace.h" #include "ns3/pcap-trace.h" -#include "ns3/internet-node-module.h" - using namespace ns3; NS_LOG_COMPONENT_DEFINE ("TcpLargeTransfer"); diff --git a/samples/main-random-topology.cc b/samples/main-random-topology.cc index 7f72beb9a..022f02c6b 100644 --- a/samples/main-random-topology.cc +++ b/samples/main-random-topology.cc @@ -3,6 +3,7 @@ #include "ns3/core-module.h" #include "ns3/mobility-module.h" #include "ns3/helper-module.h" +#include "ns3/simulator-module.h" using namespace ns3; diff --git a/samples/main-random-walk.cc b/samples/main-random-walk.cc index e94dfa644..6a536d5fb 100644 --- a/samples/main-random-walk.cc +++ b/samples/main-random-walk.cc @@ -3,6 +3,7 @@ #include "ns3/core-module.h" #include "ns3/helper-module.h" #include "ns3/mobility-module.h" +#include "ns3/simulator-module.h" using namespace ns3;