diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 8b3a28d5f93..4af9256dcf7 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -51,11 +51,10 @@ #define LLVM_SUPPORT_INSTVISITOR_H #include "llvm/Function.h" +#include "llvm/Module.h" namespace llvm { -class Module; - // We operate on opaque instruction classes, so forward declare all instruction // types now... //