diff --git a/include/llvm/CodeGen/MachineConstantPool.h b/include/llvm/CodeGen/MachineConstantPool.h
index 280d54dbf80..79f4eef608e 100644
--- a/include/llvm/CodeGen/MachineConstantPool.h
+++ b/include/llvm/CodeGen/MachineConstantPool.h
@@ -15,7 +15,6 @@
 #ifndef LLVM_CODEGEN_MACHINECONSTANTPOOL_H
 #define LLVM_CODEGEN_MACHINECONSTANTPOOL_H
 
-#include "llvm/ADT/FoldingSet.h"
 #include <cassert>
 #include <vector>
 
@@ -23,6 +22,7 @@ namespace llvm {
 
 class AsmPrinter;
 class Constant;
+class FoldingSetNodeID;
 class TargetData;
 class TargetMachine;
 class Type;