X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..740d50812a81c59013f22888ab313da5a8113227:/src/mc/mc_xbt.cpp?ds=sidebyside diff --git a/src/mc/mc_xbt.cpp b/src/mc/mc_xbt.cpp index 6c832f89cb..bfdd15619b 100644 --- a/src/mc/mc_xbt.cpp +++ b/src/mc/mc_xbt.cpp @@ -4,16 +4,20 @@ /* 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 "src/mc/remote_ptr.hpp" #include "src/mc/AddressSpace.hpp" #include "src/mc/mc_xbt.hpp" +#include +#include + namespace simgrid { namespace mc { void read_element(AddressSpace const& as, - void* local, remote_ptr addr, size_t i, size_t len) + void* local, remote_ptr addr, std::size_t i, std::size_t len) { s_xbt_dynar_t d; as.read_bytes(&d, sizeof(d), addr);