diff options
author | jim@bo <jim@bo> | 2018-06-20 03:08:45 -0400 |
---|---|---|
committer | jim@bo <jim@bo> | 2018-06-20 18:00:29 -0400 |
commit | 07202340d82fddc32f1cad82a437a438565cc2ba (patch) | |
tree | a836218263b4cb45ab3cc39ddeee5d24619ab976 /src/Network/Tox/Onion/Transport.hs | |
parent | e1c7ba154a1010cf33ff4daa045d8f4542e2267c (diff) |
port to newer versions of packages:
* iproute >= 1.7.4
* conduit-extra >= 1.1.7
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 |