aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/llvm/llvm2.8/add-unistd.patch
blob: 1c51b3063958587202dee5e253cd05dde38a1b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Index: llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp
===================================================================
--- llvm-2.8.orig/lib/ExecutionEngine/JIT/Intercept.cpp	2012-05-14 18:31:21.008318473 +0200
+++ llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp	2012-05-14 18:32:53.523734850 +0200
@@ -19,6 +19,7 @@
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/System/DynamicLibrary.h"
 #include "llvm/Config/config.h"
+#include <unistd.h>
 using namespace llvm;
 
 // AtExitHandlers - List of functions to call when the program exits,