diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp index 93d349ffa5d8..0877467ab597 100644 --- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp @@ -18,7 +18,9 @@ #include "JIT.h" #include "llvm/System/DynamicLibrary.h" #include +#if defined(__linux__) #include +#endif using namespace llvm; // AtExitHandlers - List of functions to call when the program exits,