diff options
Diffstat (limited to 'torrent-types/src/Data/Torrent.hs')
-rw-r--r-- | torrent-types/src/Data/Torrent.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/torrent-types/src/Data/Torrent.hs b/torrent-types/src/Data/Torrent.hs index a1eb286c..4cad301e 100644 --- a/torrent-types/src/Data/Torrent.hs +++ b/torrent-types/src/Data/Torrent.hs | |||
@@ -196,7 +196,11 @@ import Data.Text.Encoding as T | |||
196 | import Data.Text.Read | 196 | import Data.Text.Read |
197 | import Data.Time.Clock.POSIX | 197 | import Data.Time.Clock.POSIX |
198 | import Data.Typeable | 198 | import Data.Typeable |
199 | #if MIN_VERSION_network(2,7,0) | ||
200 | import Network.Socket (HostName) | ||
201 | #else | ||
199 | import Network (HostName) | 202 | import Network (HostName) |
203 | #endif | ||
200 | import Network.HTTP.Types.QueryLike | 204 | import Network.HTTP.Types.QueryLike |
201 | import Network.HTTP.Types.URI | 205 | import Network.HTTP.Types.URI |
202 | import Network.URI | 206 | import Network.URI |