From 382343d78f693f1744972afd99de2c3eb4e0e4a9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 17 Dec 2004 18:56:29 +0000 Subject: [PATCH] Only #include sys/stat.h if we're on linux where we have the PR274 problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19020 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/JIT/Intercept.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ExecutionEngine/JIT/Intercept.cpp b/lib/ExecutionEngine/JIT/Intercept.cpp index 93d349ffa5d..0877467ab59 100644 --- a/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/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,