projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the build on OS X
[ghc-hetmet.git]
/
includes
/
rts
/
storage
/
MBlock.h
diff --git
a/includes/rts/storage/MBlock.h
b/includes/rts/storage/MBlock.h
index
03396c1
..
0943d4c
100644
(file)
--- a/
includes/rts/storage/MBlock.h
+++ b/
includes/rts/storage/MBlock.h
@@
-24,6
+24,11
@@
extern void *getFirstMBlock(void);
extern void *getNextMBlock(void *mblock);
#endif
extern void *getNextMBlock(void *mblock);
#endif
+#ifdef THREADED_RTS
+// needed for HEAP_ALLOCED below
+extern SpinLock gc_alloc_block_sync;
+#endif
+
/* -----------------------------------------------------------------------------
The HEAP_ALLOCED() test.
/* -----------------------------------------------------------------------------
The HEAP_ALLOCED() test.