From 66f650787b005ffe1696c6e8bcafd5f64be19392 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Thu, 21 Apr 2011 10:25:30 -0700 Subject: [PATCH] Fix header file inclusion for MPI examples --- examples/mpi/nms-p2p-nix-distributed.cc | 7 ++++--- examples/mpi/simple-distributed.cc | 6 ++++++ examples/mpi/third-distributed.cc | 6 ++++++ 3 files changed, 16 insertions(+), 3 deletions(-) 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