summaryrefslogtreecommitdiff
path: root/torrent-types/src
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-09-28 15:49:38 -0400
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:33:47 -0500
commit68d700fa49f3e4f63d69a85db01ba49f2fbc5aef (patch)
tree2ed046dac9d48c304565f580c784c0194f003dcd /torrent-types/src
parentf6c5c0c7420ffff741ade3127a83431bb9eb77d4 (diff)
allow newer network package
Diffstat (limited to 'torrent-types/src')
-rw-r--r--torrent-types/src/Data/.Torrent.hs.swpbin57344 -> 0 bytes
-rw-r--r--torrent-types/src/Data/Torrent.hs4
2 files changed, 4 insertions, 0 deletions
diff --git a/torrent-types/src/Data/.Torrent.hs.swp b/torrent-types/src/Data/.Torrent.hs.swp
deleted file mode 100644
index 0aecaad6..00000000
--- a/torrent-types/src/Data/.Torrent.hs.swp
+++ /dev/null
Binary files differ
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