Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
windows: also allow internal includes to the lib
[simgrid.git] / src / kernel / activity / SynchroIo.cpp
index 9001cf9..33b8c68 100644 (file)
@@ -1,9 +1,10 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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 "src/kernel/activity/SynchroIo.hpp"
+#include "simgrid/kernel/resource/Action.hpp"
 #include "src/simix/smx_private.hpp"
 #include "src/surf/surf_interface.hpp"
 
@@ -35,10 +36,10 @@ void simgrid::kernel::activity::IoImpl::post()
   }
 
   switch (surf_io->getState()) {
-    case simgrid::surf::Action::State::failed:
+    case simgrid::kernel::resource::Action::State::failed:
       state = SIMIX_FAILED;
       break;
-    case simgrid::surf::Action::State::done:
+    case simgrid::kernel::resource::Action::State::done:
       state = SIMIX_DONE;
       break;
     default: