summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-11-28 10:20:03 +0000
committerDuncan Sands <baldrick@free.fr>2008-11-28 10:20:03 +0000
commit71ecd67b5d87207fca79d120dbf1feae157ddc47 (patch)
tree68e2cf61503b8e72de9a9c2b8994b4cc9a34f2e4 /llvm/lib/Target/PIC16
parent595a4423dc09a3411335bd559eb959dc3928413d (diff)
downloadbcm5719-llvm-71ecd67b5d87207fca79d120dbf1feae157ddc47.tar.gz
bcm5719-llvm-71ecd67b5d87207fca79d120dbf1feae157ddc47.zip
Add include files needed when building with
gcc 4.4 (due to use of sprintf). llvm-svn: 60209
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelLowering.cpp1
-rw-r--r--llvm/lib/Target/PIC16/PIC16InstrInfo.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
index 42787f3209e..8a5fdb23e86 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
+++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
@@ -21,6 +21,7 @@
#include "llvm/Function.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
+#include <cstdio>
using namespace llvm;
diff --git a/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp b/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp
index 33cb297ca0c..bce7d261efc 100644
--- a/llvm/lib/Target/PIC16/PIC16InstrInfo.cpp
+++ b/llvm/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 <cstdio>
using namespace llvm;
OpenPOWER on IntegriCloud