From b5e95b61aba13827db591fe3e2372d8d541b91c8 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 26 Apr 2016 17:53:00 +0200 Subject: Fix import errors on windows --- src/Hakyll/Commands.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Hakyll') 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 -- cgit v1.2.3