diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-09 18:32:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-09 18:32:50 +0000 |
commit | 58d5e051574339106ce4139697ebadd21e34dbc0 (patch) | |
tree | f4558aaa048faf34b5f8aa70859205f61030e8c9 /lib/Transforms/IPO/ExtractGV.cpp | |
parent | 3c4a26226f30f2e9a022d155586e660af38aba1f (diff) |
Fix some compilation errors on msvc:
- "Redefinition of I" (iterator masks previous definition)
- include missing header file
Patch by Argiris Kirtzidis!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ExtractGV.cpp')
-rw-r--r-- | lib/Transforms/IPO/ExtractGV.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/ExtractGV.cpp b/lib/Transforms/IPO/ExtractGV.cpp index a230dd1db8..882097cae5 100644 --- a/lib/Transforms/IPO/ExtractGV.cpp +++ b/lib/Transforms/IPO/ExtractGV.cpp @@ -17,6 +17,7 @@ #include "llvm/Constants.h" #include "llvm/Transforms/IPO.h" #include "llvm/Support/Compiler.h" +#include <algorithm> using namespace llvm; namespace { |