diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h index 6743a908306..ddb70746fc5 100644 --- a/lib/CodeGen/RegAlloc/IGNode.h +++ b/lib/CodeGen/RegAlloc/IGNode.h @@ -25,6 +25,7 @@ #define IGNODE_H #include "LiveRange.h" +#include class RegClass; //---------------------------------------------------------------------------- diff --git a/lib/Target/SparcV9/RegAlloc/IGNode.h b/lib/Target/SparcV9/RegAlloc/IGNode.h index 6743a908306..ddb70746fc5 100644 --- a/lib/Target/SparcV9/RegAlloc/IGNode.h +++ b/lib/Target/SparcV9/RegAlloc/IGNode.h @@ -25,6 +25,7 @@ #define IGNODE_H #include "LiveRange.h" +#include class RegClass; //----------------------------------------------------------------------------