Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add missing include for smpi_options
[simgrid.git] / src / mc / checker / simgrid_mc.cpp
index b334149..07c8002 100644 (file)
@@ -5,12 +5,15 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/sg_config.hpp"
-#include "src/smpi/include/smpi_config.hpp"
 #include "src/mc/Session.hpp"
 #include "src/mc/checker/Checker.hpp"
 #include "src/mc/mc_config.hpp"
 #include "src/mc/mc_exit.hpp"
 
+#if HAVE_SMPI
+#include "smpi/smpi.h"
+#endif
+
 #include <cstring>
 #include <memory>
 #include <unistd.h>
@@ -47,7 +50,7 @@ int main(int argc, char** argv)
   // value to the model-checked:
   char** argv_copy = argvdup(argc, argv);
   xbt_log_init(&argc, argv);
-#ifdef HAVE_SMPI
+#if HAVE_SMPI
   smpi_init_options();//only performed once
 #endif
   sg_config_init(&argc, argv);