diff --git a/src/brite/examples/brite-MPI-example.cc b/src/brite/examples/brite-MPI-example.cc index 8530b0249..428311600 100644 --- a/src/brite/examples/brite-MPI-example.cc +++ b/src/brite/examples/brite-MPI-example.cc @@ -14,6 +14,8 @@ * */ +#include "Brite.h" + #include "ns3/applications-module.h" #include "ns3/brite-module.h" #include "ns3/core-module.h" diff --git a/src/brite/examples/brite-generic-example.cc b/src/brite/examples/brite-generic-example.cc index c90d72d26..462addf13 100644 --- a/src/brite/examples/brite-generic-example.cc +++ b/src/brite/examples/brite-generic-example.cc @@ -14,6 +14,8 @@ * */ +#include "Brite.h" + #include "ns3/applications-module.h" #include "ns3/brite-module.h" #include "ns3/core-module.h" diff --git a/src/brite/helper/brite-topology-helper.cc b/src/brite/helper/brite-topology-helper.cc index 3d38ffeeb..9392cbe00 100644 --- a/src/brite/helper/brite-topology-helper.cc +++ b/src/brite/helper/brite-topology-helper.cc @@ -16,6 +16,8 @@ #include "brite-topology-helper.h" +#include "Brite.h" + #include "ns3/abort.h" #include "ns3/data-rate.h" #include "ns3/ipv4-address-helper.h" diff --git a/src/brite/helper/brite-topology-helper.h b/src/brite/helper/brite-topology-helper.h index d864c0170..52aa1f7c4 100644 --- a/src/brite/helper/brite-topology-helper.h +++ b/src/brite/helper/brite-topology-helper.h @@ -28,8 +28,12 @@ #include #include -// located in BRITE source directory -#include "Brite.h" +// These are in #include , +// here we just need a forward declaration. +namespace brite +{ +struct Topology; +}; namespace ns3 {