You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/regex-posix/files/regex-posix-0.95.1-ghc-7.5....

13 lines
554 B

--- regex-posix-0.95.1-orig/Text/Regex/Posix/Wrap.hsc 2011-05-10 01:55:41.000000000 +1000
+++ regex-posix-0.95.1/Text/Regex/Posix/Wrap.hsc 2012-05-13 18:06:06.314466286 +1000
@@ -133,6 +133,9 @@
import Foreign.Marshal.Alloc(mallocBytes)
import Foreign.C(CSize,CInt,CChar)
import Foreign.C.String(peekCAString, CString)
+#if (__GLASGOW_HASKELL__>=705)
+import Foreign.C.Types(CInt(..), CSize(..))
+#endif
import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray)
import qualified System.IO.Error as IOERROR(try)