瀏覽代碼

fix build with old simgrid

Samuel Thibault 7 年之前
父節點
當前提交
a50f3a8557
共有 1 個文件被更改,包括 4 次插入0 次删除
  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>