summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2016-04-26 17:53:00 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2016-04-26 17:53:00 +0200
commitb5e95b61aba13827db591fe3e2372d8d541b91c8 (patch)
tree302011e2435f4f60a18ccc09ae997f945ce89c49
parentaf16d76d6207a1a4113927afd141481b88095d87 (diff)
downloadhakyll-b5e95b61aba13827db591fe3e2372d8d541b91c8.tar.gz
Fix import errors on windows
-rw-r--r--src/Hakyll/Commands.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Hakyll/Commands.hs b/src/Hakyll/Commands.hs
index 5906247..d1845e3 100644
--- a/src/Hakyll/Commands.hs
+++ b/src/Hakyll/Commands.hs
@@ -36,6 +36,11 @@ import Hakyll.Preview.Poll (watchUpdates)
import Hakyll.Preview.Server
#endif
+#ifdef mingw32_HOST_OS
+import Control.Exception (catchIOError)
+import Control.Monad (void)
+#endif
+
--------------------------------------------------------------------------------
-- | Build the site