Fix some examples, broken after bridge/olsr reorganization
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 25 Oct 2010 21:43:38 +0100
changeset 6640 8285fbb8b04d
parent 6639 e09e8803df26
child 6641 cfd3533cc1ef
Fix some examples, broken after bridge/olsr reorganization
examples/wireless/mixed-wireless.cc
examples/wireless/multirate.cc
examples/wireless/wifi-simple-adhoc-grid.cc
examples/wireless/wifi-wired-bridging.cc
src/routing/olsr/examples/olsr-hna.cc
src/routing/olsr/examples/simple-point-to-point-olsr.cc
--- a/examples/wireless/mixed-wireless.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/examples/wireless/mixed-wireless.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -67,6 +67,7 @@
 #include "ns3/mobility-module.h"
 #include "ns3/contrib-module.h"
 #include "ns3/wifi-module.h"
+#include "ns3/olsr-helper.h"
 
 using namespace ns3;
 
--- a/examples/wireless/multirate.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/examples/wireless/multirate.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -57,6 +57,7 @@
 #include "ns3/random-variable.h"
 #include "ns3/wifi-module.h"
 #include "ns3/flow-monitor-helper.h"
+#include "ns3/olsr-helper.h"
 
 #include <iostream>
 #include <fstream>
--- a/examples/wireless/wifi-simple-adhoc-grid.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/examples/wireless/wifi-simple-adhoc-grid.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -76,6 +76,7 @@
 #include "ns3/mobility-module.h"
 #include "ns3/contrib-module.h"
 #include "ns3/wifi-module.h"
+#include "ns3/olsr-helper.h"
 
 #include <iostream>
 #include <fstream>
--- a/examples/wireless/wifi-wired-bridging.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/examples/wireless/wifi-wired-bridging.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -49,6 +49,7 @@
 #include "ns3/helper-module.h"
 #include "ns3/wifi-module.h"
 #include "ns3/node-module.h"
+#include "ns3/bridge-helper.h"
 #include <vector>
 #include <stdint.h>
 #include <sstream>
--- a/src/routing/olsr/examples/olsr-hna.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/src/routing/olsr/examples/olsr-hna.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -59,6 +59,7 @@
 #include "ns3/wifi-module.h"
 #include "ns3/ipv4-list-routing.h"
 #include "ns3/olsr-routing-protocol.h"
+#include "ns3/olsr-helper.h"
 
 #include <iostream>
 #include <fstream>
--- a/src/routing/olsr/examples/simple-point-to-point-olsr.cc	Mon Oct 25 21:27:03 2010 +0100
+++ b/src/routing/olsr/examples/simple-point-to-point-olsr.cc	Mon Oct 25 21:43:38 2010 +0100
@@ -44,6 +44,7 @@
 #include "ns3/simulator-module.h"
 #include "ns3/node-module.h"
 #include "ns3/helper-module.h"
+#include "ns3/olsr-helper.h"
 
 using namespace ns3;