family of functions so it gets noticed if we ever remove this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19022
91177308-0d34-0410-b5e6-
96231b3b80d8
#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,
// that the dynamic linker can't see. For more info, search for
// 'libc_nonshared.a' on Google, or read http://llvm.cs.uiuc.edu/PR274.
#if defined(__linux__)
+#include <sys/stat.h>
void *FunctionPointers[] = {
(void *) stat,
(void *) fstat,