diff options
Diffstat (limited to 'dht/src/Data/Tox/Onion.hs')
-rw-r--r-- | dht/src/Data/Tox/Onion.hs | 6 |
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 | |||
38 | import Data.Functor.Contravariant | 38 | import Data.Functor.Contravariant |
39 | import Data.Functor.Identity | 39 | import Data.Functor.Identity |
40 | #if MIN_VERSION_iproute(1,7,4) | 40 | #if MIN_VERSION_iproute(1,7,4) |
41 | import Data.IP hiding (fromSockAddr) | 41 | import Data.IP hiding ( fromSockAddr |
42 | #if MIN_VERSION_iproute(1,7,8) | ||
43 | , toSockAddr | ||
44 | #endif | ||
45 | ) | ||
42 | #else | 46 | #else |
43 | import Data.IP | 47 | import Data.IP |
44 | #endif | 48 | #endif |