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.hs | |
parent | e1c7ba154a1010cf33ff4daa045d8f4542e2267c (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.hs | 4 |
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 | |||
22 | import Control.Monad | 22 | import Control.Monad |
23 | import Data.Bits | 23 | import Data.Bits |
24 | import Data.Hashable | 24 | import Data.Hashable |
25 | #if MIN_VERSION_iproute(1,7,4) | ||
26 | import Data.IP hiding (fromSockAddr) | ||
27 | #else | ||
25 | import Data.IP | 28 | import Data.IP |
29 | #endif | ||
26 | import Data.Monoid | 30 | import Data.Monoid |
27 | import Data.Serialize (Serialize) | 31 | import Data.Serialize (Serialize) |
28 | import Data.Time.Clock.POSIX (POSIXTime) | 32 | import Data.Time.Clock.POSIX (POSIXTime) |