浏览代码

gcc: Fix build of `cholesky' example without CUDA.

* gcc-plugin/examples/cholesky/cholesky.h: Include <limits.h>.
Ludovic Courtès 13 年之前
父节点
当前提交
2bad9287ee
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gcc-plugin/examples/cholesky/cholesky.h

+ 1 - 0
gcc-plugin/examples/cholesky/cholesky.h

@@ -22,6 +22,7 @@
 #include <string.h>
 #include <math.h>
 #include <sys/time.h>
+#include <limits.h>
 #ifdef STARPU_USE_CUDA
 #include <cuda.h>
 #include <cuda_runtime.h>