diff options
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r-- | src/Network/BitTorrent/MainlineDHT.hs | 4 |
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 | |||
40 | import Data.Digest.CRC32C | 40 | import Data.Digest.CRC32C |
41 | import Data.Function (fix) | 41 | import Data.Function (fix) |
42 | import Data.Hashable | 42 | import Data.Hashable |
43 | #if MIN_VERSION_iproute(1,7,4) | ||
44 | import Data.IP hiding (fromSockAddr) | ||
45 | #else | ||
43 | import Data.IP | 46 | import Data.IP |
47 | #endif | ||
44 | import Data.List | 48 | import Data.List |
45 | import Data.Maybe | 49 | import Data.Maybe |
46 | import Data.Monoid | 50 | import Data.Monoid |