瀏覽代碼

limits.h is needed for few asserts (without including this header, simgrid mode brakes)

Luka Stanisic 8 年之前
父節點
當前提交
1a70e7a13a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/core/workers.h

+ 2 - 0
src/core/workers.h

@@ -20,6 +20,8 @@
 #ifndef __WORKERS_H__
 #define __WORKERS_H__
 
+#include <limits.h>
+
 #include <starpu.h>
 #include <common/config.h>
 #include <common/timing.h>