Use of UINT_MAX requires climits, at least when
authorDuncan Sands <baldrick@free.fr>
Thu, 15 May 2008 11:22:50 +0000 (11:22 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 15 May 2008 11:22:50 +0000 (11:22 +0000)
compiling with gcc 4.3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51145 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopUnroll.cpp

index ad8cfd4eeb2aea59250a31c4180a5fd4b7a404d1..aa1c7e736362eeb964b66a28ce8ab2c6deb47a80 100644 (file)
@@ -12,6 +12,7 @@
 // counts of loops easily.
 //===----------------------------------------------------------------------===//
 
+#include <climits>
 #define DEBUG_TYPE "loop-unroll"
 #include "llvm/IntrinsicInst.h"
 #include "llvm/Transforms/Scalar.h"