blob: 96ad676a439f4190ffb9c1e64e4e1ce9908d83b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- readline-1.0.1.0-orig/System/Console/Readline.hsc 2007-11-06 02:25:00.000000000 +1100
+++ readline-1.0.1.0/System/Console/Readline.hsc 2012-09-15 17:30:53.690973810 +1000
@@ -298,6 +298,9 @@
import Foreign.C.Types ( CInt, CChar, CFile )
import Foreign.C.String ( newCString, peekCString, withCString,
castCharToCChar, castCCharToChar )
+#if (__GLASGOW_HASKELL__>=705)
+import Foreign.C.Types(CInt(..))
+#endif
import GHC.Handle ( fdToHandle )
{-# CFILES HsReadline_cbits.c #-}
|