aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd46f6b8868921cbcd559370adba203c9f39b0189 (patch)
treeca67ac304f9fc4ac6449d5e45fd61e74c1d82e07 /lib/Target/PIC16
parentde5f95f7ade82f35c3b2cfd7844b2ed5649a8bbb (diff)
downloadexternal_llvm-d46f6b8868921cbcd559370adba203c9f39b0189.zip
external_llvm-d46f6b8868921cbcd559370adba203c9f39b0189.tar.gz
external_llvm-d46f6b8868921cbcd559370adba203c9f39b0189.tar.bz2
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
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16ISelLowering.cpp1
-rw-r--r--lib/Target/PIC16/PIC16InstrInfo.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp
index 42787f3..8a5fdb2 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 <cstdio>
using namespace llvm;
diff --git a/lib/Target/PIC16/PIC16InstrInfo.cpp b/lib/Target/PIC16/PIC16InstrInfo.cpp
index 33cb297..bce7d26 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 <cstdio>
using namespace llvm;