From 0e3629e35525259d068b0314e7b8b90d24d17d71 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Mon, 19 Jun 2017 10:40:47 +0200 Subject: [PATCH] try to fix build by adding back some includes --- src/smpi/smpi_comm.cpp | 1 + src/smpi/smpi_deployment.cpp | 3 ++- src/smpi/smpi_pmpi.cpp | 2 ++ src/xbt/parmap.cpp | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/smpi/smpi_comm.cpp b/src/smpi/smpi_comm.cpp index d1e2ab014f..f128f59d02 100644 --- a/src/smpi/smpi_comm.cpp +++ b/src/smpi/smpi_comm.cpp @@ -4,6 +4,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/s4u/Host.hpp" +#include #include "src/simix/smx_private.h" #include "src/smpi/private.h" diff --git a/src/smpi/smpi_deployment.cpp b/src/smpi/smpi_deployment.cpp index 791b8da39b..1abaa45278 100644 --- a/src/smpi/smpi_deployment.cpp +++ b/src/smpi/smpi_deployment.cpp @@ -5,9 +5,10 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/msg.h" /* barrier */ +#include "src/smpi/SmpiHost.hpp" #include "src/smpi/private.h" #include "src/smpi/smpi_comm.hpp" -#include "src/smpi/SmpiHost.hpp" +#include namespace simgrid { namespace smpi { diff --git a/src/smpi/smpi_pmpi.cpp b/src/smpi/smpi_pmpi.cpp index 528bcaac99..635e0d77df 100644 --- a/src/smpi/smpi_pmpi.cpp +++ b/src/smpi/smpi_pmpi.cpp @@ -3,6 +3,8 @@ /* 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 "simgrid/s4u/Engine.hpp" #include "simgrid/s4u/Host.hpp" #include "src/smpi/private.h" diff --git a/src/xbt/parmap.cpp b/src/xbt/parmap.cpp index 4afc9f73d4..df47a7adee 100644 --- a/src/xbt/parmap.cpp +++ b/src/xbt/parmap.cpp @@ -4,6 +4,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include +#include #include "src/internal_config.h" #if HAVE_UNISTD_H -- 2.20.1