X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9cc0d42f835e6aa5ea5195a346098e74b0376927..75ebde707b0c7b13d67e12e94a03d774ad37ba67:/src/mc/mc_base.h diff --git a/src/mc/mc_base.h b/src/mc/mc_base.h index fc587fb6b9..095b6992fd 100644 --- a/src/mc/mc_base.h +++ b/src/mc/mc_base.h @@ -7,8 +7,12 @@ #ifndef SIMGRID_MC_BASE_H #define SIMGRID_MC_BASE_H +#ifdef __cplusplus +#include +#endif + #include -#include "src/simix/popping_private.h" // smx_simcall_t +#include #ifdef __cplusplus @@ -30,7 +34,7 @@ XBT_PRIVATE bool request_is_enabled(smx_simcall_t req); * iteratively until there doesn't remain any. At this point, the function * returns to the caller which can handle the visible (and ready) simcalls. */ -XBT_PRIVATE void wait_for_requests(void); +XBT_PRIVATE void wait_for_requests(); XBT_PRIVATE extern std::vector processes_time;