Hugs only: add a CBITS "pragma" to tell the Hugs conversion script which
files from <package>/cbits should be linked with the module by ffihugs,
e.g. {-# CBITS HsNet.c initWinSock.c ancilData.c #-}
import System.IO.Unsafe ( unsafePerformIO )
#endif
import System.IO.Unsafe ( unsafePerformIO )
#endif
+#ifdef __HUGS__
+{-# CBITS errno.c #-}
+#endif
+
-- "errno" type
-- ------------
-- "errno" type
-- ------------
#ifdef __HUGS__
import Hugs.Prelude (IOException(..), IOErrorType(..))
#ifdef __HUGS__
import Hugs.Prelude (IOException(..), IOErrorType(..))
+
+{-# CBITS PrelIOUtils.c #-}
#endif
-- ---------------------------------------------------------------------------
#endif
-- ---------------------------------------------------------------------------