projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use explicit language extensions & remove extension fields from base.cabal
[ghc-base.git]
/
System
/
Posix
/
Types.hs
diff --git
a/System/Posix/Types.hs
b/System/Posix/Types.hs
index
14fdcf8
..
676fead
100644
(file)
--- a/
System/Posix/Types.hs
+++ b/
System/Posix/Types.hs
@@
-1,4
+1,10
@@
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE CPP
+ , NoImplicitPrelude
+ , MagicHash
+ , GeneralizedNewtypeDeriving
+ #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Types
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Types
@@
-110,14
+116,14
@@
import Foreign.C
import Foreign
import Foreign.C
import Data.Typeable
import Foreign
import Foreign.C
import Data.Typeable
-import Data.Bits
+-- import Data.Bits
#ifdef __GLASGOW_HASKELL__
import GHC.Base
import GHC.Enum
import GHC.Num
import GHC.Real
#ifdef __GLASGOW_HASKELL__
import GHC.Base
import GHC.Enum
import GHC.Num
import GHC.Real
-import GHC.Prim
+-- import GHC.Prim
import GHC.Read
import GHC.Show
#else
import GHC.Read
import GHC.Show
#else