fd.write(' case SIMCALL_NONE:\n');
fd.write(' THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",\n');
fd.write(' SIMIX_process_get_name(simcall->issuer),\n');
- fd.write(' SIMIX_host_get_name(SIMIX_process_get_host(simcall->issuer))\n');
+ fd.write(' sg_host_get_name(SIMIX_process_get_host(simcall->issuer))\n');
fd.write(' );\n');
fd.write(' break;\n');
fd.write('\n');
fd.write('#include "smx_private.h"\n')
fd.write('#include "src/mc/mc_forward.h"\n')
fd.write('#include "xbt/ex.h"\n')
+ fd.write('#include <simgrid/simix.hpp>\n')
handle(fd, Simcall.body, simcalls, simcalls_dict)
fd.close()