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.