Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tiny fixes
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 29 Feb 2016 10:54:06 +0000 (11:54 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 29 Feb 2016 10:54:06 +0000 (11:54 +0100)
examples/msg/io/remote.c
examples/msg/migration/migration.c

index 0d90d37..bbb3ca0 100644 (file)
@@ -17,7 +17,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(remote_io, "Messages specific for this io example")
 
 static int host(int argc, char *argv[]){
   msg_file_t file = MSG_file_open(argv[1], NULL);
-  char *filename = MSG_file_get_name(file);
+  const char *filename = MSG_file_get_name(file);
   XBT_INFO("Opened file '%s'",filename);
   MSG_file_dump(file);
 
index 9fdc4a8..804affb 100644 (file)
@@ -5,6 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/msg.h"
+#include "xbt/synchro_core.h"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");