From: Duncan Sands Date: Fri, 28 Nov 2008 10:20:03 +0000 (+0000) Subject: Add include files needed when building with X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6dbe7fbad79eddb030a4450a135d13e6b0ca942;p=oota-llvm.git Add include files needed when building with gcc 4.4 (due to use of sprintf). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60209 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp index 42787f3209e..8a5fdb23e86 100644 --- a/lib/Target/PIC16/PIC16ISelLowering.cpp +++ b/lib/Target/PIC16/PIC16ISelLowering.cpp @@ -21,6 +21,7 @@ #include "llvm/Function.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineFunction.h" +#include using namespace llvm; diff --git a/lib/Target/PIC16/PIC16InstrInfo.cpp b/lib/Target/PIC16/PIC16InstrInfo.cpp index 33cb297ca0c..bce7d261efc 100644 --- a/lib/Target/PIC16/PIC16InstrInfo.cpp +++ b/lib/Target/PIC16/PIC16InstrInfo.cpp @@ -20,6 +20,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include using namespace llvm;