Skip to content

Commit

Permalink
Merge pull request #12 from tibbe/ffi-fix
Browse files Browse the repository at this point in the history
Fix build with GHC 7.3+
  • Loading branch information
bos committed Oct 29, 2011
2 parents 587e36f + 4b5864e commit c02bc86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Data/Text/Array.hs
Expand Up @@ -64,7 +64,11 @@ import Control.Monad.ST (unsafeIOToST)
import Data.Bits ((.&.), xor)
import Data.Text.Unsafe.Base (inlinePerformIO)
import Data.Text.UnsafeShift (shiftL, shiftR)
#if __GLASGOW_HASKELL__ >= 703
import Foreign.C.Types (CInt(CInt), CSize(CSize))
#else
import Foreign.C.Types (CInt, CSize)
#endif
import GHC.Base (ByteArray#, MutableByteArray#, Int(..),
indexWord16Array#, newByteArray#,
unsafeCoerce#, writeWord16Array#)
Expand Down

0 comments on commit c02bc86

Please sign in to comment.