소스 검색

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>