summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion/Handlers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/Onion/Handlers.hs')
-rw-r--r--src/Network/Tox/Onion/Handlers.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs
index 263d60bd..f497a1bf 100644
--- a/src/Network/Tox/Onion/Handlers.hs
+++ b/src/Network/Tox/Onion/Handlers.hs
@@ -44,7 +44,11 @@ import GHC.Conc (labelThread)
44import Control.Concurrent.STM 44import Control.Concurrent.STM
45import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) 45import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime)
46import Network.Socket 46import Network.Socket
47#if MIN_VERSION_iproute(1,7,4)
48import Data.IP hiding (fromSockAddr)
49#else
47import Data.IP 50import Data.IP
51#endif
48import Data.Maybe 52import Data.Maybe
49import Data.Bits 53import Data.Bits
50import Data.Ord 54import Data.Ord