[Git][ghc/ghc][wip/T13660] Update Internals.hs

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Wed May 10 17:27:55 UTC 2023



Ben Gamari pushed to branch wip/T13660 at Glasgow Haskell Compiler / GHC


Commits:
491005a0 by Ben Gamari at 2023-05-10T17:27:53+00:00
Update Internals.hs
- - - - -


1 changed file:

- libraries/base/System/Posix/Internals.hs


Changes:

=====================================
libraries/base/System/Posix/Internals.hs
=====================================
@@ -34,7 +34,6 @@ import System.Posix.Types
 import Foreign
 import Foreign.C
 
-import Data.OldList (elem)
 import Data.Maybe
 
 #if !defined(HTYPE_TCFLAG_T)
@@ -52,6 +51,8 @@ import GHC.IO.Device
 #if !defined(mingw32_HOST_OS)
 import {-# SOURCE #-} GHC.IO.Encoding (getFileSystemEncoding)
 import qualified GHC.Foreign as GHC
+#else
+import Data.OldList (elem)
 #endif
 
 -- ---------------------------------------------------------------------------



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/491005a0478ff1f03c3dd3c75536a56747d5fffc

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/491005a0478ff1f03c3dd3c75536a56747d5fffc
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230510/bf265759/attachment-0001.html>


More information about the ghc-commits mailing list