From 850748f5de4ac85a4bbe73d5cbe02c76cf252e30 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 28 Nov 2008 10:20:03 +0000 Subject: [PATCH] Add include files needed when building with gcc 4.4 (due to use of sprintf). llvm-svn: 60209 --- lib/Target/PIC16/PIC16ISelLowering.cpp | 1 + lib/Target/PIC16/PIC16InstrInfo.cpp | 1 + 2 files changed, 2 insertions(+) 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;