summaryrefslogtreecommitdiff
path: root/src/Network/Kademlia.hs
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 /src/Network/Kademlia.hs
parente1c7ba154a1010cf33ff4daa045d8f4542e2267c (diff)
port to newer versions of packages:
* iproute >= 1.7.4 * conduit-extra >= 1.1.7
Diffstat (limited to 'src/Network/Kademlia.hs')
-rw-r--r--src/Network/Kademlia.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Network/Kademlia.hs b/src/Network/Kademlia.hs
index 0ab26e80..50c98967 100644
--- a/src/Network/Kademlia.hs
+++ b/src/Network/Kademlia.hs
@@ -22,7 +22,11 @@ import Control.Concurrent.STM
22import Control.Monad 22import Control.Monad
23import Data.Bits 23import Data.Bits
24import Data.Hashable 24import Data.Hashable
25#if MIN_VERSION_iproute(1,7,4)
26import Data.IP hiding (fromSockAddr)
27#else
25import Data.IP 28import Data.IP
29#endif
26import Data.Monoid 30import Data.Monoid
27import Data.Serialize (Serialize) 31import Data.Serialize (Serialize)
28import Data.Time.Clock.POSIX (POSIXTime) 32import Data.Time.Clock.POSIX (POSIXTime)