Add extern flag to avoid multiple symbol errors on Mac os X
[ghc-hetmet.git] / rts / sm / BlockAlloc.h
index 2d777f7..594135a 100644 (file)
@@ -16,7 +16,7 @@ extern void checkFreeListSanity(void);
 nat         countFreeList(void);
 #endif
 
-lnat n_alloc_blocks;   // currently allocated blocks
-lnat hw_alloc_blocks;  // high-water allocated blocks
+extern lnat n_alloc_blocks;   // currently allocated blocks
+extern lnat hw_alloc_blocks;  // high-water allocated blocks
 
 #endif /* BLOCK_ALLOC_H */