Fix import errors on windows
commitb5e95b61aba13827db591fe3e2372d8d541b91c8
authorJasper Van der Jeugt <m@jaspervdj.be>
dateTue 26 Apr 2016, 17:53 (11 years ago)
parentaf16d76
src/Hakyll/Commands.hs+5
@@ -36,6 +36,11 @@ import Hakyll.Preview.Poll (watchUpdates)
3636import Hakyll.Preview.Server
3737#endif
3838
39+#ifdef mingw32_HOST_OS
40+import Control.Exception (catchIOError)
41+import Control.Monad (void)
42+#endif
43+
3944
4045--------------------------------------------------------------------------------
4146-- | Build the site