Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
public headers should include simgrid in a system-wide way, not a project-wide one
[simgrid.git] / teshsuite / msg / actions-storage / actions-storage.c
index d0fc423..4c6e458 100644 (file)
@@ -1,11 +1,14 @@
-/* Copyright (c) 2015-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-2018. The SimGrid Team. All rights reserved.          */
 
 /* 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 "simgrid/msg.h"
+#include "simgrid/plugins/file_system.h"
 #include <xbt/replay.hpp>
 
+#include <stdio.h> /* snprintf */
+
 XBT_LOG_NEW_DEFAULT_CATEGORY(storage_actions, "Messages specific for this example");
 
 static xbt_dict_t opened_files = NULL;
@@ -98,6 +101,7 @@ static void action_close(const char* const* action)
 int main(int argc, char* argv[])
 {
   MSG_init(&argc, argv);
+  MSG_storage_file_system_init();
   /* Explicit initialization of the action module is required */
   MSG_action_init();