summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion/Transport.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/Onion/Transport.hs')
-rw-r--r--src/Network/Tox/Onion/Transport.hs5
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
65import Data.Function 66import Data.Function
66import Data.Functor.Contravariant 67import Data.Functor.Contravariant
67import Data.Functor.Identity 68import Data.Functor.Identity
69#if MIN_VERSION_iproute(1,7,4)
70import Data.IP hiding (fromSockAddr)
71#else
68import Data.IP 72import Data.IP
73#endif
69import Data.Maybe 74import Data.Maybe
70import Data.Monoid 75import Data.Monoid
71import Data.Serialize as S 76import Data.Serialize as S