aboutsummaryrefslogtreecommitdiff
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
commitc6dbe7fbad79eddb030a4450a135d13e6b0ca942 (patch)
treeca67ac304f9fc4ac6449d5e45fd61e74c1d82e07
parentf9a67a894366482cb2aa70a0e4dfeb5d76f91988 (diff)
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
-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 42787f3209..8a5fdb23e8 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 33cb297ca0..bce7d261ef 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;