From: Martin Quinson Date: Mon, 5 Mar 2018 21:47:14 +0000 (+0100) Subject: ns3: cleanups in the headers X-Git-Tag: v3.19~155 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/218cfca134c987a5f4df49044ba61673883f3aed?hp=1d8c6760b0e7ea8c87d9eb8cd0275f32eac3e6d4;ds=sidebyside ns3: cleanups in the headers --- diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index 5689fec5f6..8dac14b7e7 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -10,8 +10,13 @@ #include "xbt/string.hpp" #include "xbt/utility.hpp" -#include "ns3/core-module.h" -#include "ns3/node.h" +#include +#include +#include +#include +#include +#include +#include #include "network_ns3.hpp" #include "ns3/ns3_simulator.hpp" diff --git a/src/surf/ns3/ns3_interface.hpp b/src/surf/ns3/ns3_interface.hpp index a1c523f3d7..a8ea409977 100644 --- a/src/surf/ns3/ns3_interface.hpp +++ b/src/surf/ns3/ns3_interface.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ diff --git a/src/surf/ns3/ns3_simulator.cpp b/src/surf/ns3/ns3_simulator.cpp index 8b43e80e5c..1ced7bc051 100644 --- a/src/surf/ns3/ns3_simulator.cpp +++ b/src/surf/ns3/ns3_simulator.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -7,6 +7,9 @@ #include "xbt/log.h" #include "xbt/sysdep.h" +#include +#include + #include std::map flowFromSock; // ns3::sock -> SgFlow diff --git a/src/surf/ns3/ns3_simulator.hpp b/src/surf/ns3/ns3_simulator.hpp index 743f0031dd..dcf378e55e 100644 --- a/src/surf/ns3/ns3_simulator.hpp +++ b/src/surf/ns3/ns3_simulator.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,18 +6,12 @@ #ifndef NS3_SIMULATOR_HPP #define NS3_SIMULATOR_HPP -#include - #include "ns3_interface.hpp" -#include -#include -#include -#include -#include -#include #include +#include + class XBT_PRIVATE SgFlow { public: SgFlow(uint32_t totalBytes, simgrid::surf::NetworkNS3Action* action);