diff options
Diffstat (limited to 'src/Network/Tox/Onion/Handlers.hs')
-rw-r--r-- | src/Network/Tox/Onion/Handlers.hs | 4 |
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) | |||
44 | import Control.Concurrent.STM | 44 | import Control.Concurrent.STM |
45 | import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) | 45 | import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime) |
46 | import Network.Socket | 46 | import Network.Socket |
47 | #if MIN_VERSION_iproute(1,7,4) | ||
48 | import Data.IP hiding (fromSockAddr) | ||
49 | #else | ||
47 | import Data.IP | 50 | import Data.IP |
51 | #endif | ||
48 | import Data.Maybe | 52 | import Data.Maybe |
49 | import Data.Bits | 53 | import Data.Bits |
50 | import Data.Ord | 54 | import Data.Ord |