X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/31a818b15a9657dd08268d473255481b2a2d197b..8b0d5ae29ebd13e69a23991b8adfb67c5c5d79d3:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index a9279cacc4..8bb58f6c6d 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -3,23 +3,18 @@ /* 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. */ -#include -#include - -#include - -#include "xbt/log.h" -#include "xbt/system_error.hpp" -#include -#include -#include - #include "src/mc/Session.hpp" #include "src/mc/checker/Checker.hpp" +#include "src/mc/mc_config.hpp" #include "src/mc/mc_private.hpp" #include "src/mc/mc_state.hpp" +#include "xbt/log.h" +#include "xbt/system_error.hpp" -#include "src/smpi/include/private.hpp" +#include +#ifdef __linux__ +#include +#endif XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session"); @@ -135,7 +130,7 @@ void Session::logState() } // static -Session* Session::fork(std::function code) +Session* Session::fork(const std::function& code) { // Create a AF_LOCAL socketpair used for exchanging messages // between the model-checker process (ourselves) and the model-checked