Move the import of System.IO.Unsafe into the #else part of #ifdef
__GLASGOW_HASKELL__, because it was causing an import loop.
(Alastair: that #else should probably be #elif __HUGS__, right?)
-- regular imports
-- ---------------
-import System.IO.Unsafe( unsafePerformIO )
import Foreign.Storable
import Foreign.Ptr
import Foreign.C.Types
import GHC.Base
#else
import System.IO ( IOError, Handle, ioError )
+import System.IO.Unsafe ( unsafePerformIO )
#endif
-- "errno" type