From ae9a806c2e2d9d7d8d8eee9afb5ff8145008b9f6 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 24 May 2016 03:13:36 +0200 Subject: [PATCH] Fix to latest sendfile version to simplify imports --- hpath.cabal | 2 +- src/HPath/IO.hs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/hpath.cabal b/hpath.cabal index d0571d4..e7967a2 100644 --- a/hpath.cabal +++ b/hpath.cabal @@ -36,7 +36,7 @@ library , deepseq , exceptions , hspec - , simple-sendfile >= 0.2.22 + , simple-sendfile >= 0.2.24 , unix >= 2.5 , unix-bytestring , utf8-string diff --git a/src/HPath/IO.hs b/src/HPath/IO.hs index 3f045fa..c908814 100644 --- a/src/HPath/IO.hs +++ b/src/HPath/IO.hs @@ -140,10 +140,7 @@ import System.IO.Error import System.Linux.Sendfile ( sendfileFd - ) -import Network.Sendfile - ( - FileRange(..) + , FileRange(..) ) import System.Posix.ByteString (