summaryrefslogtreecommitdiff
path: root/bittorrent/src/Network/BitTorrent/Exchange
diff options
context:
space:
mode:
authorjim@bo <jim@bo>2018-06-20 03:08:45 -0400
committerjim@bo <jim@bo>2018-06-20 18:00:29 -0400
commit07202340d82fddc32f1cad82a437a438565cc2ba (patch)
treea836218263b4cb45ab3cc39ddeee5d24619ab976 /bittorrent/src/Network/BitTorrent/Exchange
parente1c7ba154a1010cf33ff4daa045d8f4542e2267c (diff)
port to newer versions of packages:
* iproute >= 1.7.4 * conduit-extra >= 1.1.7
Diffstat (limited to 'bittorrent/src/Network/BitTorrent/Exchange')
-rw-r--r--bittorrent/src/Network/BitTorrent/Exchange/Message.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/bittorrent/src/Network/BitTorrent/Exchange/Message.hs b/bittorrent/src/Network/BitTorrent/Exchange/Message.hs
index 2c6770f7..5c096523 100644
--- a/bittorrent/src/Network/BitTorrent/Exchange/Message.hs
+++ b/bittorrent/src/Network/BitTorrent/Exchange/Message.hs
@@ -32,6 +32,7 @@
32{-# LANGUAGE GeneralizedNewtypeDeriving #-} 32{-# LANGUAGE GeneralizedNewtypeDeriving #-}
33{-# LANGUAGE DeriveDataTypeable #-} 33{-# LANGUAGE DeriveDataTypeable #-}
34{-# LANGUAGE TemplateHaskell #-} 34{-# LANGUAGE TemplateHaskell #-}
35{-# LANGUAGE CPP #-}
35{-# OPTIONS -fno-warn-orphans #-} 36{-# OPTIONS -fno-warn-orphans #-}
36module Network.BitTorrent.Exchange.Message 37module Network.BitTorrent.Exchange.Message
37 ( -- * Capabilities 38 ( -- * Capabilities
@@ -111,7 +112,11 @@ import Data.String
111import Data.Text as T 112import Data.Text as T
112import Data.Typeable 113import Data.Typeable
113import Data.Word 114import Data.Word
115#if MIN_VERSION_iproute(1,7,4)
116import Data.IP hiding (fromSockAddr)
117#else
114import Data.IP 118import Data.IP
119#endif
115import Network 120import Network
116import Network.Socket hiding (KeepAlive) 121import Network.Socket hiding (KeepAlive)
117import Text.PrettyPrint as PP hiding ((<>)) 122import Text.PrettyPrint as PP hiding ((<>))