aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/InstrSched/SchedPriorities.h1
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h
index 1366884b58..7cfcb03839 100644
--- a/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/lib/CodeGen/InstrSched/SchedPriorities.h
@@ -18,6 +18,7 @@
#include "llvm/Target/MachineSchedInfo.h"
#include "Support/hash_set"
#include <list>
+#include <iosfwd>
class Function;
class MachineInstr;
diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h
index 1366884b58..7cfcb03839 100644
--- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h
+++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.h
@@ -18,6 +18,7 @@
#include "llvm/Target/MachineSchedInfo.h"
#include "Support/hash_set"
#include <list>
+#include <iosfwd>
class Function;
class MachineInstr;