aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index c2681594..ad316cf2 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -34,6 +34,10 @@ import Data.Maybe ( isJust, maybeToList )
import System.Console.GetOpt ( getOpt, usageInfo, ArgOrder(..), OptDescr(..), ArgDescr(..) )
import System.Environment ( getArgs )
import System.IO ( stderr, IOMode(..), openFile, hClose, hGetContents, hPutStrLn )
+#if defined(mingw32_HOST_OS)
+import Foreign
+import Foreign.C
+#endif
-----------------------------------------------------------------------------
-- Top-level stuff