on master help sign in
Merge pull request #25 from hamishmack/master

Fix for GHC 7.8

commitb0b88c3c2e12d55bbf734d060378d0f578f4817c authorMichael Snoyman <michael@snoyman.com> dateSun 28 Apr 2013, 09:13 (14 years ago) parent8381f2178c64b1
1 file changed+3
Text/Libyaml.hs+3
Text/Libyaml.hs+3
@@ -38,6 +38,9 @@ import Control.Monad
3838import Foreign.C
3939import Foreign.Ptr
4040import Foreign.ForeignPtr
41+#if MIN_VERSION_base(4,7,0)
42+import Foreign.ForeignPtr.Unsafe
43+#endif
4144import Foreign.Marshal.Alloc
4245import Data.Data
4346