diff --git a/examples/mpi/nms-p2p-nix-distributed.cc b/examples/mpi/nms-p2p-nix-distributed.cc index 0ac9a5b51..9509b6312 100644 --- a/examples/mpi/nms-p2p-nix-distributed.cc +++ b/examples/mpi/nms-p2p-nix-distributed.cc @@ -41,12 +41,13 @@ #include "ns3/core-module.h" #include "ns3/internet-module.h" #include "ns3/network-module.h" -#include "ns3/onoff-application.h" -#include "ns3/packet-sink.h" -#include "ns3/point-to-point-net-device.h" +#include "ns3/on-off-helper.h" +#include "ns3/packet-sink-helper.h" +#include "ns3/point-to-point-helper.h" #include "ns3/mpi-interface.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" +#include "ns3/ipv4-nix-vector-helper.h" #ifdef NS3_MPI #include diff --git a/examples/mpi/simple-distributed.cc b/examples/mpi/simple-distributed.cc index ba57225e9..c92178223 100644 --- a/examples/mpi/simple-distributed.cc +++ b/examples/mpi/simple-distributed.cc @@ -47,6 +47,12 @@ #include "ns3/ipv4-global-routing-helper.h" #include "ns3/ipv4-static-routing-helper.h" #include "ns3/ipv4-list-routing-helper.h" +#include "ns3/point-to-point-helper.h" +#include "ns3/internet-stack-helper.h" +#include "ns3/ipv4-nix-vector-helper.h" +#include "ns3/ipv4-address-helper.h" +#include "ns3/on-off-helper.h" +#include "ns3/packet-sink-helper.h" #ifdef NS3_MPI #include diff --git a/examples/mpi/third-distributed.cc b/examples/mpi/third-distributed.cc index 1c52acb16..31c581584 100644 --- a/examples/mpi/third-distributed.cc +++ b/examples/mpi/third-distributed.cc @@ -20,6 +20,12 @@ #include "ns3/mobility-module.h" #include "ns3/mpi-interface.h" #include "ns3/ipv4-global-routing-helper.h" +#include "ns3/udp-echo-helper.h" +#include "ns3/point-to-point-helper.h" +#include "ns3/csma-helper.h" +#include "ns3/internet-stack-helper.h" +#include "ns3/ipv4-address-helper.h" +#include "ns3/ipv4-interface-container.h" #ifdef NS3_MPI #include