diff options
Diffstat (limited to 'src/Network/Tox/Onion/Transport.hs')
-rw-r--r-- | src/Network/Tox/Onion/Transport.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs index 864e831f..0da48f76 100644 --- a/src/Network/Tox/Onion/Transport.hs +++ b/src/Network/Tox/Onion/Transport.hs | |||
@@ -1,3 +1,4 @@ | |||
1 | {-# LANGUAGE CPP #-} | ||
1 | {-# LANGUAGE DataKinds #-} | 2 | {-# LANGUAGE DataKinds #-} |
2 | {-# LANGUAGE FlexibleContexts #-} | 3 | {-# LANGUAGE FlexibleContexts #-} |
3 | {-# LANGUAGE FlexibleInstances #-} | 4 | {-# LANGUAGE FlexibleInstances #-} |
@@ -65,7 +66,11 @@ import Data.Coerce | |||
65 | import Data.Function | 66 | import Data.Function |
66 | import Data.Functor.Contravariant | 67 | import Data.Functor.Contravariant |
67 | import Data.Functor.Identity | 68 | import Data.Functor.Identity |
69 | #if MIN_VERSION_iproute(1,7,4) | ||
70 | import Data.IP hiding (fromSockAddr) | ||
71 | #else | ||
68 | import Data.IP | 72 | import Data.IP |
73 | #endif | ||
69 | import Data.Maybe | 74 | import Data.Maybe |
70 | import Data.Monoid | 75 | import Data.Monoid |
71 | import Data.Serialize as S | 76 | import Data.Serialize as S |