--- regex-pcre-builtin-0.94.2.1.7.7-orig/Text/Regex/PCRE/Wrap.hsc 2009-05-21 16:44:47.000000000 +1000 +++ regex-pcre-builtin-0.94.2.1.7.7/Text/Regex/PCRE/Wrap.hsc 2012-05-19 15:04:34.225820227 +1000 @@ -90,6 +90,9 @@ import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray,MatchOffset) #endif +#if (__GLASGOW_HASKELL__>=705) +import Foreign.C.Types(CInt(..), CSize(..)) +#endif -- | return version of pcre used or Nothing if pcre is not available. getVersion :: Maybe String