summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r--src/Network/BitTorrent/MainlineDHT.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/MainlineDHT.hs b/src/Network/BitTorrent/MainlineDHT.hs
index 991473a9..847d820b 100644
--- a/src/Network/BitTorrent/MainlineDHT.hs
+++ b/src/Network/BitTorrent/MainlineDHT.hs
@@ -40,7 +40,11 @@ import Data.Default
40import Data.Digest.CRC32C 40import Data.Digest.CRC32C
41import Data.Function (fix) 41import Data.Function (fix)
42import Data.Hashable 42import Data.Hashable
43#if MIN_VERSION_iproute(1,7,4)
44import Data.IP hiding (fromSockAddr)
45#else
43import Data.IP 46import Data.IP
47#endif
44import Data.List 48import Data.List
45import Data.Maybe 49import Data.Maybe
46import Data.Monoid 50import Data.Monoid