소스 검색

fix build with old simgrid

Samuel Thibault 8 년 전
부모
커밋
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>