diff --git a/Text/Regex/PCRE/Wrap.hsc b/Text/Regex/PCRE/Wrap.hsc
--- a/Text/Regex/PCRE/Wrap.hsc
+++ b/Text/Regex/PCRE/Wrap.hsc
@@ -73,12 +73,17 @@
 import Control.Monad(when)
 import Data.Array(Array,accumArray)
 import Data.Bits(Bits((.|.))) -- ((.&.),(.|.),complement))
-import Foreign(unsafePerformIO
-              ,Ptr,ForeignPtr,FinalizerPtr -- ,FunPtr
+import System.IO.Unsafe(unsafePerformIO)
+import Foreign(Ptr,ForeignPtr,FinalizerPtr -- ,FunPtr
               ,alloca,allocaBytes,nullPtr
               ,peek,peekElemOff
               ,newForeignPtr,withForeignPtr)
-import Foreign.C(CInt,CChar)
+import Foreign.C(CChar)
+#if __GLASGOW_HASKELL__ >= 703
+import Foreign.C(CInt(CInt))
+#else
+import Foreign.C(CInt)
+#endif
 import Foreign.C.String(CString,CStringLen,peekCString)
 import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray,MatchOffset)
 #else
diff --git a/regex-pcre.cabal b/regex-pcre.cabal
--- a/regex-pcre.cabal
+++ b/regex-pcre.cabal
@@ -1,6 +1,6 @@
 Name:                   regex-pcre
 -- Keep the Version below in sync with ./Text/Regex/PCRE.hs value getVersion_Text_Regex_PCRE :: Version
-Version:                0.94.2
+Version:                0.94.3
 Cabal-Version:          >=1.2.3
 License:                BSD3
 License-File:           LICENSE
@@ -64,5 +64,5 @@
   -- anyway.  The resulting regex-posix will exist, but throw errors.
   CC-Options:             -DHAVE_PCRE_H
   Extra-Libraries:        pcre
-  --Include-Dirs:           /opt/local/include
-  --Extra-Lib-Dirs:         /opt/local/lib
+  Include-Dirs:           /opt/local/include
+  Extra-Lib-Dirs:         /opt/local/lib
