summaryrefslogtreecommitdiff
path: root/P2P
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 13:58:03 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 13:58:03 -0400
commitced7d202be8360003d269359fdb5e854a0dc554c (patch)
tree587d78c51b5bbae932242ff0fd75d63296508b45 /P2P
parent6d03298df3f18249679cab835a114be0487c7b1d (diff)
fix build with old ghc
Diffstat (limited to 'P2P')
-rw-r--r--P2P/Protocol.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/P2P/Protocol.hs b/P2P/Protocol.hs
index f51ea7f98..8aabb37d7 100644
--- a/P2P/Protocol.hs
+++ b/P2P/Protocol.hs
@@ -29,6 +29,8 @@ import System.Exit (ExitCode(..))
import System.IO
import qualified Data.ByteString.Lazy as L
import Data.Char
+import Control.Applicative
+import Prelude
newtype Offset = Offset Integer
deriving (Show)