aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-08-01 14:46:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-08-01 14:46:19 -0700
commite3b791eda7e858e568a345882cb83e3d3220c7e7 (patch)
treedffe260d07da66885810b20587e4699e194c4476 /src
parent0baaa1080a5e937bf8b3c301fbe5db08145b58b4 (diff)
parentab7c5f22213d2963ea6dbbf2267a4a6ec7d5774d (diff)
downloadpandoc-e3b791eda7e858e568a345882cb83e3d3220c7e7.tar.gz
Merge pull request #2338 from trofi/master
fix build failure with --flags=-https
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index c09c2f2a0..07a7e962c 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -136,6 +136,8 @@ import qualified Data.Text as T (toUpper, pack, unpack)
import Data.ByteString.Lazy (toChunks, fromChunks)
import qualified Data.ByteString.Lazy as BL
+import Codec.Archive.Zip
+
#ifdef EMBED_DATA_FILES
import Text.Pandoc.Data (dataFiles)
#else
@@ -155,7 +157,6 @@ import Network.HTTP.Client.TLS (tlsManagerSettings)
import System.Environment (getEnv)
import Network.HTTP.Types.Header ( hContentType)
import Network (withSocketsDo)
-import Codec.Archive.Zip
#else
import Network.URI (parseURI)
import Network.HTTP (findHeader, rspBody,