summaryrefslogtreecommitdiff
path: root/ghc/includes/Threads.lh
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/includes/Threads.lh')
-rw-r--r--ghc/includes/Threads.lh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/includes/Threads.lh b/ghc/includes/Threads.lh
index 48e10efd92..a8d2e8d638 100644
--- a/ghc/includes/Threads.lh
+++ b/ghc/includes/Threads.lh
@@ -82,7 +82,9 @@ extern I_ SparkLimit[SPARK_POOLS];
extern P_ RunnableThreadsHd, RunnableThreadsTl;
extern P_ WaitingThreadsHd, WaitingThreadsTl;
-extern I_ sparksIgnored;
+#if defined(PAR)
+extern I_ sparksIgnored, sparksCreated;
+#endif
IF_RTS(extern void AwaitEvent(I_);)