Browse Source

fix build with old simgrid

Samuel Thibault 7 years ago
parent
commit
a50f3a8557
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/core/simgrid_cpp.cpp

+ 4 - 0
src/core/simgrid_cpp.cpp

@@ -21,7 +21,11 @@
 #include <common/config.h>
 
 #ifdef STARPU_SIMGRID
+#ifdef STARPU_HAVE_SIMGRID_MSG_H
 #include <simgrid/msg.h>
+#else
+#include <msg/msg.h>
+#endif
 #include <simgrid/simix.h>
 #ifdef STARPU_HAVE_SIMGRID_HOST_H
 #include <simgrid/host.h>