-{-# OPTIONS -fno-implicit-prelude -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-}
-----------------------------------------------------------------------------
-- |
-- Module : Foreign.C.Error
-- calculated for us
--
#ifndef __NHC__
-#include "ghcconfig.h"
+#include "HsBaseConfig.h"
#endif
-- system dependent imports
import GHC.Num
import GHC.Base
#else
-import System.IO ( IOError, Handle, ioError )
+import System.IO ( Handle )
+import System.IO.Error ( IOError, ioError )
import System.IO.Unsafe ( unsafePerformIO )
#endif
#ifdef __HUGS__
-{-# CBITS PrelIOUtils.c #-}
+{-# CFILES cbits/PrelIOUtils.c #-}
#endif