Преглед изворни кода

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 <string.h>
 #include <math.h>
 #include <math.h>
 #include <sys/time.h>
 #include <sys/time.h>
+#include <limits.h>
 #ifdef STARPU_USE_CUDA
 #ifdef STARPU_USE_CUDA
 #include <cuda.h>
 #include <cuda.h>
 #include <cuda_runtime.h>
 #include <cuda_runtime.h>