From: Martin Quinson Date: Mon, 1 May 2017 14:25:58 +0000 (+0200) Subject: fix NS3 and lua builds X-Git-Tag: v3.16~296 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/77163c152598f613abd0a938a967fcbd7a95fc8b fix NS3 and lua builds --- diff --git a/src/bindings/lua/lua_host.cpp b/src/bindings/lua/lua_host.cpp index c83873f610..71484a4251 100644 --- a/src/bindings/lua/lua_host.cpp +++ b/src/bindings/lua/lua_host.cpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2010, 2012-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2010-2017. 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,8 +6,7 @@ /* SimGrid Lua bindings */ #include "lua_private.h" -#include -#include +#include "simgrid/s4u/Host.hpp" extern "C" { #include } diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index 6bc87ef269..e27db353d1 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2017. 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,18 +10,14 @@ #include "ns3/core-module.h" #include "ns3/node.h" -#include "ns3/ns3_interface.h" #include "ns3/ns3_simulator.h" #include "network_ns3.hpp" -#include "simgrid/sg_config.h" #include "src/instr/instr_private.h" // TRACE_is_enabled(). FIXME: remove by subscribing tracing to the surf signals #include "src/kernel/routing/NetPoint.hpp" -#include "src/surf/HostImpl.hpp" -#include "src/surf/surf_private.h" +#include "simgrid/s4u/Engine.hpp" #include "simgrid/s4u/NetZone.hpp" -#include "simgrid/s4u/engine.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ns3, surf, "Logging specific to the SURF network NS3 module"); diff --git a/src/surf/ns3/ns3_interface.h b/src/surf/ns3/ns3_interface.h index e667adec78..1366932289 100644 --- a/src/surf/ns3/ns3_interface.h +++ b/src/surf/ns3/ns3_interface.h @@ -6,7 +6,7 @@ #ifndef NS3_INTERFACE_H #define NS3_INTERFACE_H -#include +#include "simgrid/s4u/Host.hpp" namespace simgrid { namespace surf {