| 1 |
diff -Naur libcilkrts.orig/runtime/cilk-abi-cilk-for.cpp libcilkrts/runtime/cilk-abi-cilk-for.cpp
|
| 2 |
--- libcilkrts.orig/runtime/cilk-abi-cilk-for.cpp 2012-06-14 12:25:49.000000000 -0700
|
| 3 |
+++ libcilkrts/runtime/cilk-abi-cilk-for.cpp 2012-06-14 12:26:36.000000000 -0700
|
| 4 |
@@ -40,6 +40,9 @@
|
| 5 |
* from within the body of the cilk_for loop
|
| 6 |
*/
|
| 7 |
|
| 8 |
+#include <cilk/cilk.h>
|
| 9 |
+#include <cilk/cilk_stub.h>
|
| 10 |
+
|
| 11 |
#include "internal/abi.h"
|
| 12 |
#include "metacall_impl.h"
|
| 13 |
#include "global_state.h"
|
| 14 |
diff -Naur libcilkrts.orig/runtime/symbol_test.c libcilkrts/runtime/symbol_test.c
|
| 15 |
--- libcilkrts.orig/runtime/symbol_test.c 2012-06-14 12:25:49.000000000 -0700
|
| 16 |
+++ libcilkrts/runtime/symbol_test.c 2012-06-14 12:26:30.000000000 -0700
|
| 17 |
@@ -38,6 +38,9 @@
|
| 18 |
* will cause a linker error.
|
| 19 |
*/
|
| 20 |
|
| 21 |
+#include <cilk/cilk.h>
|
| 22 |
+#include <cilk/cilk_stub.h>
|
| 23 |
+
|
| 24 |
extern void* __cilkrts_global_state;
|
| 25 |
void *volatile p;
|
| 26 |
|