From: Frederic Suter Date: Fri, 6 Dec 2019 12:21:56 +0000 (+0100) Subject: add missing include for smpi_options X-Git-Tag: v3.25~331 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/29626b6969473f635cfb4f0734a10d6fb21516ae add missing include for smpi_options --- diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index c806450f07..8647cc9285 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -6,7 +6,9 @@ #include "src/mc/Session.hpp" #include "src/mc/checker/Checker.hpp" #include "src/mc/mc_config.hpp" -#include "src/smpi/include/smpi_config.hpp" +#if HAVE_SMPI +#include "smpi/smpi.h" +#endif #include "src/mc/mc_private.hpp" #include "src/mc/mc_state.hpp" #include "xbt/log.h" diff --git a/src/mc/checker/simgrid_mc.cpp b/src/mc/checker/simgrid_mc.cpp index 48a1994198..07c8002b12 100644 --- a/src/mc/checker/simgrid_mc.cpp +++ b/src/mc/checker/simgrid_mc.cpp @@ -5,7 +5,6 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/sg_config.hpp" -#include "src/smpi/include/smpi_config.hpp" #include "src/mc/Session.hpp" #include "src/mc/checker/Checker.hpp" #include "src/mc/mc_config.hpp" diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index 519bd46491..a0034ca81a 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -7,7 +7,7 @@ #include "src/internal_config.h" #include "src/simix/smx_private.hpp" -#include "src/smpi/include/smpi_config.hpp" +#include "smpi/smpi.h" #include "xbt/config.hpp" #include