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/System/Global6.hs | |
parent | e1c7ba154a1010cf33ff4daa045d8f4542e2267c (diff) |
port to newer versions of packages:
* iproute >= 1.7.4
* conduit-extra >= 1.1.7
Diffstat (limited to 'src/System/Global6.hs')
-rw-r--r-- | src/System/Global6.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/System/Global6.hs b/src/System/Global6.hs index cc8ed020..f9073482 100644 --- a/src/System/Global6.hs +++ b/src/System/Global6.hs | |||
@@ -1,8 +1,13 @@ | |||
1 | {-# LANGUAGE CPP #-} | ||
1 | module System.Global6 where | 2 | module System.Global6 where |
2 | 3 | ||
3 | import Control.Monad | 4 | import Control.Monad |
4 | import Control.Applicative | 5 | import Control.Applicative |
6 | #if MIN_VERSION_iproute(1,7,4) | ||
7 | import Data.IP hiding (fromSockAddr) | ||
8 | #else | ||
5 | import Data.IP | 9 | import Data.IP |
10 | #endif | ||
6 | import Data.List | 11 | import Data.List |
7 | import Data.Maybe | 12 | import Data.Maybe |
8 | import Network.Socket | 13 | import Network.Socket |