From 07202340d82fddc32f1cad82a437a438565cc2ba Mon Sep 17 00:00:00 2001 From: "jim@bo" Date: Wed, 20 Jun 2018 03:08:45 -0400 Subject: port to newer versions of packages: * iproute >= 1.7.4 * conduit-extra >= 1.1.7 --- src/Network/Kademlia.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Network/Kademlia.hs') 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 import Control.Monad import Data.Bits import Data.Hashable +#if MIN_VERSION_iproute(1,7,4) +import Data.IP hiding (fromSockAddr) +#else import Data.IP +#endif import Data.Monoid import Data.Serialize (Serialize) import Data.Time.Clock.POSIX (POSIXTime) -- cgit v1.2.3