Fix a couple of imports
[ghc-base.git] / System / Mem.hs
index 2391936..39a98da 100644 (file)
@@ -24,5 +24,9 @@ import Hugs.IOExts
 
 #ifdef __GLASGOW_HASKELL__
 -- | Triggers an immediate garbage collection
-foreign import ccall {-safe-} "performGC" performGC :: IO ()
+foreign import ccall {-safe-} "performMajorGC" performGC :: IO ()
+#endif
+
+#ifdef __NHC__
+import NHC.IOExtras (performGC)
 #endif