summaryrefslogtreecommitdiff
path: root/dht/src/Data/Tox/Onion.hs
diff options
context:
space:
mode:
Diffstat (limited to 'dht/src/Data/Tox/Onion.hs')
-rw-r--r--dht/src/Data/Tox/Onion.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/dht/src/Data/Tox/Onion.hs b/dht/src/Data/Tox/Onion.hs
index 55e81069..d6f747d9 100644
--- a/dht/src/Data/Tox/Onion.hs
+++ b/dht/src/Data/Tox/Onion.hs
@@ -38,7 +38,11 @@ import Data.Function
38import Data.Functor.Contravariant 38import Data.Functor.Contravariant
39import Data.Functor.Identity 39import Data.Functor.Identity
40#if MIN_VERSION_iproute(1,7,4) 40#if MIN_VERSION_iproute(1,7,4)
41import Data.IP hiding (fromSockAddr) 41import Data.IP hiding ( fromSockAddr
42#if MIN_VERSION_iproute(1,7,8)
43 , toSockAddr
44#endif
45 )
42#else 46#else
43import Data.IP 47import Data.IP
44#endif 48#endif