diff options
author | Joe Crayne <joe@jerkface.net> | 2020-01-05 20:03:18 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-05 21:44:36 -0500 |
commit | 62d31ca46fb3143af3004730195ff6554cf3fa40 (patch) | |
tree | a2882c330ba580ef57ecbf62b999ae87d377e35d /dht/src/Network/BitTorrent/MainlineDHT.hs | |
parent | 6047a311f270bbb0a176900d9b1fea5e6d9b96c1 (diff) |
Forward port to GHC 8.10.1-alpha2 (83edba07e4)
Diffstat (limited to 'dht/src/Network/BitTorrent/MainlineDHT.hs')
-rw-r--r-- | dht/src/Network/BitTorrent/MainlineDHT.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dht/src/Network/BitTorrent/MainlineDHT.hs b/dht/src/Network/BitTorrent/MainlineDHT.hs index e604f5e5..fc69fedd 100644 --- a/dht/src/Network/BitTorrent/MainlineDHT.hs +++ b/dht/src/Network/BitTorrent/MainlineDHT.hs | |||
@@ -40,7 +40,11 @@ import Data.Digest.CRC32C | |||
40 | import Data.Function (fix) | 40 | import Data.Function (fix) |
41 | import Data.Hashable | 41 | import Data.Hashable |
42 | #if MIN_VERSION_iproute(1,7,4) | 42 | #if MIN_VERSION_iproute(1,7,4) |
43 | import Data.IP hiding (fromSockAddr) | 43 | import Data.IP hiding ( fromSockAddr |
44 | #if MIN_VERSION_iproute(1,7,8) | ||
45 | , toSockAddr | ||
46 | #endif | ||
47 | ) | ||
44 | #else | 48 | #else |
45 | import Data.IP | 49 | import Data.IP |
46 | #endif | 50 | #endif |