summaryrefslogtreecommitdiff
blob: a48ad961c9beadd519cb836e2d2468b3de58c69d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
 Intercept.cpp |    1 +
 1 file changed, 1 insertion(+)

--- a/lib/ExecutionEngine/JIT/Intercept.cpp	2012-05-17 16:11:46.956180361 +0200
+++ b/lib/ExecutionEngine/JIT/Intercept.cpp	2012-05-17 16:14:35.256184996 +0200
@@ -52,6 +52,7 @@
 #include <sys/stat.h>
 #endif
 #include <fcntl.h>
+#include <unistd.h>
 /* stat functions are redirecting to __xstat with a version number.  On x86-64 
  * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' 
  * available as an exported symbol, so we have to add it explicitly.