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