commit | 357a27dc855c3247c2a73120fbcb98e708564400 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Wed Feb 20 11:08:44 2008 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Wed Feb 20 11:08:44 2008 +0000 |
tree | b32dad9e6075f8f292819f06d26e306fc94427a0 | |
parent | 85b03769dd6b0e85b3624a49dd78894b621e7b43 [diff] [blame] |
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index b95acdd..cbbf412 100644 --- a/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/SparcAsmPrinter.cpp
@@ -31,6 +31,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/MathExtras.h" #include <cctype> +#include <cstring> using namespace llvm; STATISTIC(EmittedInsts, "Number of machine instrs printed");