diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-07-03 22:26:08 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-07-03 22:26:08 -0700 |
commit | b203a31ba7acaff908c627ef2aebd70cfa901c89 (patch) | |
tree | f6c3b506bd60a1f4ab10ac43ea5ad81faf915200 /src/Text | |
parent | 261c3af05326442ac64ee427861dcba0809cf4a1 (diff) | |
download | pandoc-b203a31ba7acaff908c627ef2aebd70cfa901c89.tar.gz |
Fix warning for parseURl import.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index ab1c12a80..9c6c4b33f 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -150,11 +150,12 @@ import Text.Pandoc.Data (dataFiles) import Paths_pandoc (getDataFileName) #endif #ifdef HTTP_CLIENT -import Network.HTTP.Client (httpLbs, parseUrl, - responseBody, responseHeaders, +import Network.HTTP.Client (httpLbs, responseBody, responseHeaders, Request(port,host)) #if MIN_VERSION_http_client(0,4,30) import Network.HTTP.Client (parseRequest) +#else +import Network.HTTP.Client (parseUrl) #endif #if MIN_VERSION_http_client(0,4,18) import Network.HTTP.Client (newManager) |