The Cabal library depends on "instance Exception ExitCode", and expects
to import it from Control.Exception, not Control.Exception.Base.
NonTermination(..),
NestedAtomically(..),
#endif
+#ifdef __NHC__
+ System.ExitCode(), -- instance Exception
+#endif
BlockedOnDeadMVar(..),
BlockedIndefinitely(..),
import Prelude hiding (catch)
#endif
+#ifdef __NHC__
+import System (ExitCode())
+#endif
+
#if __GLASGOW_HASKELL__ || __HUGS__
data Handler a = forall e . Exception e => Handler (e -> IO a)