summaryrefslogtreecommitdiff
path: root/dht/src/Network/BitTorrent/MainlineDHT.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2020-01-05 20:03:18 -0500
committerJoe Crayne <joe@jerkface.net>2020-01-05 21:44:36 -0500
commit62d31ca46fb3143af3004730195ff6554cf3fa40 (patch)
treea2882c330ba580ef57ecbf62b999ae87d377e35d /dht/src/Network/BitTorrent/MainlineDHT.hs
parent6047a311f270bbb0a176900d9b1fea5e6d9b96c1 (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.hs6
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
40import Data.Function (fix) 40import Data.Function (fix)
41import Data.Hashable 41import Data.Hashable
42#if MIN_VERSION_iproute(1,7,4) 42#if MIN_VERSION_iproute(1,7,4)
43import Data.IP hiding (fromSockAddr) 43import Data.IP hiding ( fromSockAddr
44#if MIN_VERSION_iproute(1,7,8)
45 , toSockAddr
46#endif
47 )
44#else 48#else
45import Data.IP 49import Data.IP
46#endif 50#endif