summaryrefslogtreecommitdiff
path: root/torrent-types/src/Data/Torrent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'torrent-types/src/Data/Torrent.hs')
-rw-r--r--torrent-types/src/Data/Torrent.hs4
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
196import Data.Text.Read 196import Data.Text.Read
197import Data.Time.Clock.POSIX 197import Data.Time.Clock.POSIX
198import Data.Typeable 198import Data.Typeable
199#if MIN_VERSION_network(2,7,0)
200import Network.Socket (HostName)
201#else
199import Network (HostName) 202import Network (HostName)
203#endif
200import Network.HTTP.Types.QueryLike 204import Network.HTTP.Types.QueryLike
201import Network.HTTP.Types.URI 205import Network.HTTP.Types.URI
202import Network.URI 206import Network.URI