Please sign in to comment.
Import constructors for types used in FFI declarations
This is done for `base-4.5.0` and later in order to shut up a compiler warning in GHC 7.4 and avoid a compiler error in GHC 7.6, e.g.: Warning: newtype `Fd' is used in an FFI declaration, but its constructor is not in scope. This will become an error in GHC 7.6.1. When checking declaration: foreign import ccall unsafe "static sys/sendfile.h sendfile64" c_sendfile :: Fd -> Fd -> Ptr COff -> CSize -> IO CSsize
- Loading branch information...