diff --git a/include/llvm/ExecutionEngine/Interpreter.h b/include/llvm/ExecutionEngine/Interpreter.h index bb11d025966..a491a68c2fb 100644 --- a/include/llvm/ExecutionEngine/Interpreter.h +++ b/include/llvm/ExecutionEngine/Interpreter.h @@ -16,6 +16,7 @@ #define EXECUTION_ENGINE_INTERPRETER_H #include "llvm/ExecutionEngine/ExecutionEngine.h" +#include namespace llvm { extern void LinkInInterpreter(); diff --git a/include/llvm/ExecutionEngine/JIT.h b/include/llvm/ExecutionEngine/JIT.h index 8f17be1ece4..3563b6a2530 100644 --- a/include/llvm/ExecutionEngine/JIT.h +++ b/include/llvm/ExecutionEngine/JIT.h @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file forces the interpreter to link in on certain operating systems. +// This file forces the JIT to link in on certain operating systems. // (Windows). // //===----------------------------------------------------------------------===// @@ -16,6 +16,7 @@ #define EXECUTION_ENGINE_JIT_H #include "llvm/ExecutionEngine/ExecutionEngine.h" +#include namespace llvm { extern void LinkInJIT();