Only #include sys/stat.h if we're on linux where we have the PR274 problem.

llvm-svn: 19020
This commit is contained in:
Reid Spencer 2004-12-17 18:56:29 +00:00
parent 5e5e3f4409
commit 0575a63578
1 changed files with 2 additions and 0 deletions

View File

@ -18,7 +18,9 @@
#include "JIT.h"
#include "llvm/System/DynamicLibrary.h"
#include <iostream>
#if defined(__linux__)
#include <sys/stat.h>
#endif
using namespace llvm;
// AtExitHandlers - List of functions to call when the program exits,