diff options
author | jim@bo <jim@bo> | 2018-06-20 03:08:45 -0400 |
---|---|---|
committer | jim@bo <jim@bo> | 2018-06-20 18:00:29 -0400 |
commit | 07202340d82fddc32f1cad82a437a438565cc2ba (patch) | |
tree | a836218263b4cb45ab3cc39ddeee5d24619ab976 /src/Network/Kademlia | |
parent | e1c7ba154a1010cf33ff4daa045d8f4542e2267c (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.hs | 4 |
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 | |||
29 | import Control.Monad | 29 | import Control.Monad |
30 | import Data.Bits | 30 | import Data.Bits |
31 | import Data.Hashable | 31 | import Data.Hashable |
32 | #if MIN_VERSION_iproute(1,7,4) | ||
33 | import Data.IP hiding (fromSockAddr) | ||
34 | #else | ||
32 | import Data.IP | 35 | import Data.IP |
36 | #endif | ||
33 | import Data.Monoid | 37 | import Data.Monoid |
34 | import Data.Serialize (Serialize) | 38 | import Data.Serialize (Serialize) |
35 | import Data.Time.Clock.POSIX (POSIXTime) | 39 | import Data.Time.Clock.POSIX (POSIXTime) |